KDE apps PATH environment variable

Andy Teijelo Pérez espino at infomed.sld.cu
Mon Jan 17 04:03:30 GMT 2005


El Domingo, 16 de Enero de 2005 9:11, James Richard Tyrer escribió:
> Andy Teijelo Pérez wrote:
> > I would like all applications in my KDE session to have ~/bin in its PATH
> > environment variable. Where should I make the change?
>
> Normally with Linux, you would add that to: "~/.bash_profile":
>
>  From my system:
>
>  HOME=/home/jrt
>  PATH=$HOME/bin:$PATH
>
>  export PATH HOME
>
> If you are using something other than Linux, you would add something
> similar to: "~/.profile"

I did what you said. But when I open Konqueror from the "Home" icon on 
kdesktop, there's no shell involved and then I don't get the desired result 
on PATH.
My goal here is to be able to run some scripts I have in ~/bin from konqueror 
using the "Execute Shell Command..." entry in the Tools menu, which runs them 
with the current listed directory as pwd. But even when I could just put the 
entire path to the script in the field given, some of those scripts refer to 
other script also in ~/bin simply by their names, not the full path. That's 
why I would like all my KDE (and X perhaps) applications to have ~/bin on 
their PATH environment variable.

Andy

___________________________________________________
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