KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?

Dotan Cohen dotancohen at gmail.com
Tue May 5 20:11:09 BST 2009


>> Why would a .bash_profile affect KDE *at all*?  .bash_profile is used by
>> *bash* to configure the environment for login runs.  If you are starting a
>> KDE session from KDM/XDM/GDM there's no login bash runs involved in the
>> startup.
>
> I don't think that's universally true, though it probably depends on
> distro and DM.
>
> However...
>
>> If you would like to affect the global environment of your KDE session, and
>> are not using a custom session, you can place files in ~/.kde/env.  Files
>> ending in ".sh" are read and executed in the same shell that is reading and
>> executing the startkde script.
>
> ...you will probably have better luck with this.

Should I just call it $HOME/.kde/env/profile and include this:
PATH="$HOME/.bin:$PATH"

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
___________________________________________________
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