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

James Richard Tyrer tyrerj at acm.org
Fri May 8 20:38:02 BST 2009


Dotan Cohen wrote:
>> "Files ending in ".sh" are read and executed..."
>> ...so it would be 'profile.sh'.
>>
>> Otherwise I think yes (but I haven't tried it).
>>
> 
> Thanks, this got me on my way:
> 
> $ cat .kde/env/profile.sh
> PATH=$HOME/.bin:$PATH
> export PATH
> 
> Of course, the file needs to be made executable.
> 
This will work for starting KDE, but you need to keep in mind that if 
you do anything other than starting KDE with KDM that your $HOME/.bin 
directory might not be added to your PATH.

While debugging startup/login scripts can be a real bitch, it would be 
better to find out why your $HOME/.bash_profile script isn't modifying 
your PATH as expected.  It is best to do things correctly and the 
.kde/env directory should be used only for things that are KDE specific.

-- 
JRT

Linux (mostly) From Scratch

___________________________________________________
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