Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- From: "Boyd Stephen Smith Jr." <bss@xxxxxxxxxxxxxxxxx>
- Date: Fri, 8 May 2009 16:33:26 -0400
In <880dece00905081249s306ac01aia9372625cf642866@xxxxxxxxxxxxxx>, Dotan
Cohen wrote:
2009/5/8 James Richard Tyrer <tyrerj@xxxxxxx>:
Dotan Cohen wrote:How would one go about that? It might be a *buntu thing?
[T]his got me on my way:This will work for starting KDE, but you need to keep in mind that if
$ cat .kde/env/profile.sh
PATH=$HOME/.bin:$PATH
export PATH
you do anything other than starting KDE with KDM that your $HOME/.bin
directory might not be added to your PATH.
While debugging startup/login scripts can be a real bitch, it would be
better to find out why your $HOME/.bash_profile script isn't modifying
your PATH as expected. It is best to do things correctly and the
.kde/env directory should be used only for things that are KDE specific.
On Debian and openSUSE, the default Xsession for KDE is
/usr/share/xsessions/kde.desktop,[1] which contains the line
"Exec=/usr/bin/startkde". This causes /usr/bin/startkde to be run to bring
up your X environment.
On both those systems, /usr/bin/startkde does not read ~/.bash_profile or
~/.profile. (Its she-bang line is "#!/bin/sh".) It is working as designed.
Ignore JRT, he's wrong, as usual. ;) :P j/k
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@xxxxxxxxxxxxxxxxx ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
[1] For KDE 4 on openSUSE, it is currently /usr/share/xsessions/kde4.dekstop
that might be changing since KDE 3 won't be in 11.2, I think.
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.
- Follow-Ups:
- Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- From: James Richard Tyrer
- Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- References:
- [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- From: Dotan Cohen
- Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- From: James Richard Tyrer
- Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- From: Dotan Cohen
- [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- Prev by Date: Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- Next by Date: [kde] How to remove entries typed into Krunner
- Previous by thread: Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- Next by thread: Re: [kde] KDE menus (Lancelot, Kmenu, Krunner) not respecting PATH?
- Index(es):
Relevant Pages
|