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

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

 



In <880dece00905051211j33ea0e69j636e56ce9567008c@xxxxxxxxxxxxxx>, 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@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