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

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

 



In <880dece00905050826v3c7f9e0cn3295c7c1bd524f46@xxxxxxxxxxxxxx>, Dotan 
Cohen wrote:
>I have a $HOME/.bin (yes, with the dot) in my PATH:
>$ cat .bash_profile
>PATH=$HOME/.bin:$PATH
>export PATH

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.

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.  This might not be bash; it is usually 
whatever /bin/sh is on your system.

You *might* use .bashrc instead.  It is sourced for all interactive non-
login bash runs.  I don't think it would affect KDE startup, but it might.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@xxxxxxxxxxxxxxxxx            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

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