How to set the KDE path?

Dotan Cohen dotancohen at gmail.com
Tue Feb 1 18:52:59 GMT 2011


On Tue, Feb 1, 2011 at 18:24, Kevin Krammer <kevin.krammer at gmx.at> wrote:
> That never worked because e.g. .bash_profile is only read by interactive
> shells (see man bash) and the shell running /usr/bin/startkde is not
> interactive.
>

Of course, .bash_profile is for bash as the name implies. But what
about .profile? Would it not make sense for KDE to respect that?


> Some people might have had /bin/bash symlinked to /bin/sh and .bashrc sourcing
> .bash_profile but of course this is just working around the way that shell
> works.
>
> Usually distributions have some way of setting environment variables that
> should always be present regardless of the type of login (local vs. from
> remote, X vs. virtual console).
>

That's .profile, no?


> Xinit is a way to do that only for X11 based sessions, but again regardless of
> workspace environment being used.
>
> For KDE one can additional use KDE's environment extender mechanims, i.e.
> putting a file (with .sh extension) into $HOME/.kde/env
>

Do you know the syntax? It is not the bash syntax. Thanks.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list