how do you alter/ add to paths set on startup?
I am having trouble with something I think should be straightforward. I am trying to run a SuperKaramba theme automatically on startup. I have put a script in my KDE autostart folder however it is unable to find the program it needs to run (i.e. SuperKaramba) I assume this is because it is not looking in the folder where the program is located and that therefore the path to that dirctory needs to be set.
How is this done and where are paths stored? Any Help would be appreciated |
The global paths are stored in /etc/profile file and user-specific paths (if user wants to add some specific path), are stored in .[user's shell](rc) file in the users home directory
|
It is more elegant to put apps in your path, rather than taking your path to your apps. Is there a particular reason you cannot put superkaramba in /usr/bin?
If you insist on adding this directory to your path then edit .bashrc and add a line like this: Code:
export PATH=$PATH:/my/new/directory Code:
$ . ~/.bashrc |
Thanks I am not sure if the file can be located in usr/bin, I installed it with rpm and this is where it put it. /usr/local/kde/bin
|
I see. Just add it to your path then. I thought maybe you were just running it from your home directory or something.
|
All times are GMT -5. The time now is 08:42 AM. |