You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, July 30th 2003, 6:40pm

Setting PATH for desktop

I am a GNOME user giving KDE a whirl. I have several shell scripts that launch applications in a folder called $HOME/bin and $HOME/sbin. These I add to my path in my .bashrc file. In GNOME, when I run a program (Alt -f2) scripts in these custom directories are found as being in the path and run. However, KDE doesn't seem to look in these directories.

How does KDE set the search path for the run dialog? Thanks for the help.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, July 30th 2003, 6:47pm

I think only the environment of the loginshell is used.

if you source .bashrc in .bash_profile or add the export there as well, it should work as expected.

Cheers,
_
Qt/KDE Developer
Debian User

3

Wednesday, July 30th 2003, 6:56pm

the contents of my .bash_profile file are as follows

[code:1][ -f ~/.bashrc ] && . ~/.bashrc[/code:1]

my .bashrc has

[code:1]export PATH[/code:1]

in it as well (among other things).

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Wednesday, July 30th 2003, 8:17pm

Hmm, this should work.

as a workaround you could add that sourcing command to the startkde script.

Cheers,
_
Qt/KDE Developer
Debian User