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

Boyd Stephen Smith Jr. bss at iguanasuicide.net
Tue May 5 20:36:33 BST 2009


In <880dece00905051211j33ea0e69j636e56ce9567008c at mail.gmail.com>, Dotan 
Cohen wrote:
>>> Files ending in ".sh" are read and executed in the same shell that is
>>> reading and executing the startkde script.
>Should I just call it $HOME/.kde/env/profile

$HOME/.kde/env/profile.sh

Here's the relevant lines (caution, might have openSUSE patches applied):
for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'` 
/usr/share/kde4/env/; do
  for file in "$prefix"*.sh; do
    test -r "$file" && . "$file"
  done
done

The filename must end with ".sh" for it to be read.

>and include this:
>PATH="$HOME/.bin:$PATH"

That should work.
-- 
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/328ad2b3/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