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

Boyd Stephen Smith Jr. bss at iguanasuicide.net
Tue May 5 17:25:09 BST 2009

In <880dece00905050826v3c7f9e0cn3295c7c1bd524f46 at mail.gmail.com>, Dotan 
Cohen wrote:
>I have a $HOME/.bin (yes, with the dot) in my PATH:
>$ cat .bash_profile
>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 

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 at iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20090505/225766dc/attachment.sig>
-------------- next 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.

More information about the kde mailing list