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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In <4A036DD4.5000702@xxxxxxx>, James Richard Tyrer wrote:
>But, why not
>just do it the correct way.  If you have the system set up correctly,
>there is no need to check the PATH.

The correct way is for only bash login processes to read ~/.bash_profile, and 
X login processes to read some other file.  An X login process should never 
read .bash_profile.[1]  A zsh login process doesn't, nor does a tcsh login 
process.  I'm down with X or Xsessions in general running a ~/.xprofile, but 
(for me) it would be quite a different beast.

In any case, you *still* need to check the path because /etc/profile could add 
~/bin to the PATH.

You can disagree, but you are wrong based on my experience and reading of the 
relevant documentation.  You won't change my mind unless you can point me at 
additional documentation.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@xxxxxxxxxxxxxxxxx                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

[1]  If for no other reason, because an generic Xsession script should not 
depend on being run with bash or being able to invoke bash.

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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux