KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
Dotan Cohen
dotancohen at gmail.com
Fri May 8 20:49:23 BST 2009
2009/5/8 James Richard Tyrer <tyrerj at acm.org>:
> 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.
>
How would one go about that? It might be a *buntu thing?
--
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