LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2004, 12:42 PM   #1
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Rep: Reputation: 30
Load Specfic Programs on StartUp


Hi, I was wonderinghow to load specfici programs on start up? Im using FedoraCore3 and I would really like GKRellm (monitoring program) to load when i login... how do I do this? Thanks.
 
Old 12-05-2004, 01:05 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
http://www.linuxquestions.org/questi...37#post1332437
 
Old 12-05-2004, 01:07 PM   #3
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
I failed to mention im using GNOME.... how do i do it in there
 
Old 12-05-2004, 01:14 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
While I don't use Gnome, I have it installed and was experimenting, and think I found the answer. Open all programs you want to launch on startup, then go to "Actions"->Logout
There is a checkbox that says "Save current setup" - check that and click OK
restart Gnome
 
Old 12-05-2004, 01:16 PM   #5
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
won't it then always keep open whatever i was last working on?
 
Old 12-05-2004, 01:55 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Now that I think of it, yes. Sorry... can't help you any further :/
 
Old 12-05-2004, 02:42 PM   #7
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
bummer thanks anyways
 
Old 12-13-2004, 05:58 AM   #8
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
so any ideas anyone for how to make a program like GKRellm start up once I login to GNOME?
 
Old 12-13-2004, 06:15 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Try this:
Quote:
Originally from http://www.fluxbox.org/docs/en/faq.php#startup
The place of .xinit in things

You have to understand that a windowmanager is just one more application for X, like netscape or gimp or xterm. Many people new to X come to believe that X runs the window manager and the window manager runs programs. But thats not true. If configured right, you can run all your applications under X, kill the window manager, and start another window manager up.
The *real* program that X runs, that runs other programs, is your .xinitrc or .xsession script. When X is started, your .xinitrc or .xsession script is run, and when the script is done, X comes down. Let me repeat that, its important: WHEN .xinitrc IS FINISHED, *THAT* IS WHEN X ENDS. It isn't when your windowmanager exits.
So: what you'll want to do is create a file called ~/.xinitrc
and put all programs in there ie:

Code:
#!/bin/bash
#~/.xinitrc - start all these programs programs when I startx

gkrellm & #start gkrellm
konsole & #start Konsole

gnome-session #start Gnome

#EOF
Also: amke sure to
Code:
$ chmod 700 ~/.xinitrc

Last edited by scuzzman; 12-13-2004 at 06:18 AM.
 
Old 12-13-2004, 06:19 AM   #10
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
So how do I add something to one of these files, Im not in front of my Linux box right now so I dont know what the layout of the files is, but do I just add a new line to the location of GKrellm for example or what?
 
Old 12-13-2004, 06:19 AM   #11
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
See my edit
 
Old 12-13-2004, 06:24 AM   #12
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
So: what you'll want to do is create a file called ~/.xinitrc

Isn't there already a file called xinitrc? Wouldn't I just want to modify it?
 
Old 12-13-2004, 06:29 AM   #13
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
usually, no
do this:
Code:
$ pico ~/.xinitrc
then,. if there's text there already, edit it
if not, add your own
read the article
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cron won't load my programs.... haora Linux - Newbie 2 08-03-2005 02:25 PM
How to load programs onto computer jkhnsatx Debian 3 02-17-2005 04:00 PM
Programs load very slowly! sdat1333 Mandriva 6 11-24-2004 03:41 PM
Mounting specific hardware devices to specfic mount points tallguy999 Linux - Newbie 3 11-27-2003 03:07 PM
Load on Startup ShadowPeo Linux - Newbie 1 02-01-2003 08:53 PM


All times are GMT -5. The time now is 01:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration