In <880dece00905081249s306ac01aia9372625cf642866@xxxxxxxxxxxxxx>, Dotan Cohen wrote: >2009/5/8 James Richard Tyrer <tyrerj@xxxxxxx>: >> Dotan Cohen wrote: >>> [T]his got me on my way: >>> >>> $ cat .kde/env/profile.sh >>> PATH=$HOME/.bin:$PATH >>> export PATH >> 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? On Debian and openSUSE, the default Xsession for KDE is /usr/share/xsessions/kde.desktop,[1] which contains the line "Exec=/usr/bin/startkde". This causes /usr/bin/startkde to be run to bring up your X environment. On both those systems, /usr/bin/startkde does not read ~/.bash_profile or ~/.profile. (Its she-bang line is "#!/bin/sh".) It is working as designed. Ignore JRT, he's wrong, as usual. ;) :P j/k -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@xxxxxxxxxxxxxxxxx ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/ [1] For KDE 4 on openSUSE, it is currently /usr/share/xsessions/kde4.dekstop that might be changing since KDE 3 won't be in 11.2, I think.
Attachment:
signature.asc
Description: This is a digitally signed message part.
___________________________________________________ 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.