LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2004, 12:56 PM   #1
PaleViper
Member
 
Registered: Oct 2003
Location: UK
Distribution: Suse 10.0
Posts: 39

Rep: Reputation: 15
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
 
Old 10-08-2004, 01:11 PM   #2
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
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
 
Old 10-08-2004, 01:19 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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
Don't forget to source the file so the settings take effect right away:
Code:
$ . ~/.bashrc
 
Old 10-08-2004, 01:33 PM   #4
PaleViper
Member
 
Registered: Oct 2003
Location: UK
Distribution: Suse 10.0
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 10-08-2004, 01:55 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I see. Just add it to your path then. I thought maybe you were just running it from your home directory or something.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add this to startup? bahadur Linux - Networking 8 10-15-2005 04:03 PM
how do i add daemons to the startup? snip128 Debian 6 07-15-2005 09:33 AM
Add Program to startup Shadow2982 Linux - Newbie 1 02-27-2005 05:48 PM
How do you set up links or paths in LINUX? Mandrake 9.2 Java VM Ygarl Linux - Newbie 4 03-29-2004 03:00 PM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration