LinuxQuestions.org
Help answer threads with 0 replies.
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-10-2003, 07:56 PM   #1
ksun
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
Start programs when Xwindows starts?


I have a laptop running linux that I am trying to make my full-time OS. I am using RH9, and I left it as a gui interface for login. I run an IM client that I want to run when I log in and Xwindows has had a chance to load all the way.

I figure I could just put an entry in one of my startup files like the .bashrc or .bash_profile, but I occasionally will log into the laptop from other machines, and I only want the IM client to start up when I run an X session.

Any help would be appreciated.
 
Old 10-10-2003, 08:29 PM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
In RH 9 there is an option to set program that startup when X starts. Go to the "hat" then Preferences, More Preferences, then sessions. There is a tab that says "startup programs" Put your program in there. The number associated with it is the "importance" of the startup program (sorry for the crappy word to describe). I would say set it somewhere between 80-100, but adjust according to your preference. This will also start everytime you log in to the machine, so not just when the computer starts. If you want it to start when the computer starts up ONLY, you could put the command into /etc/rc.d/rc.local.

Hope this was a help
 
Old 10-13-2003, 11:45 AM   #3
ksun
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks Ryan, that seems to have taken care of it perfectly.

Off topic; where in Iowa are you at? I lived in Des Moines until I was 12, then I moved to Lamoni and finished Jr. High & High School there, and went to Graceland College there as well.
 
Old 10-13-2003, 05:40 PM   #4
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
I grew up in ankeny and now I go to school in Ames at ISU
 
  


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
Xwindows starts automatically at start up How can I stop that? Wolfy Linux - Newbie 8 06-29-2004 06:51 AM
How to start programs when KDE starts CodeWarrior Linux - Software 5 02-09-2004 05:54 PM
how do you bypass xwindows before it starts AmdMhz Linux - Software 4 02-07-2004 08:04 PM
Programs start when KDE starts face_master Linux - Software 1 07-20-2003 02:36 AM
Everything freezes when XWindows starts shaun_bakker Linux - General 4 02-17-2003 12:59 PM


All times are GMT -5. The time now is 04:52 PM.

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