LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-23-2006, 05:13 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
How to get apps to start when Xorg starts?


Hi, I have been struggling to find a way to get a few of my favorite apps to start when Xorg starts.

Predominantly I have focused on the .ixinitrc and .xsession files in my home directory - as these apps need to be started *after* X has started and a Window manager has been loaded.

To this end I made a .xsession file and symlinked .ixinitrc to it. My .xsession file is formated with the following syntax:

Code:
fluxbox
idesk &
vncserver &
gkrellm
There is nothing currently else in this file at all.

But (perhaps unsurprisingly to some) this didn't work. Fluxbox starts - but nothing else does - although I can start them all from the command line.

The question is therefore, where did I go wrong and how do I fix it?

Besrt regards,

GJ
 
Old 05-23-2006, 05:25 PM   #2
frankjoshua
Member
 
Registered: May 2006
Posts: 32

Rep: Reputation: 15
Just need a & after fluxbox

fluxbox &
idesk &
vncserver &
gkrellm

otherwise the rest of the programs will not run until fluxbox closes, which of course is too late. Interesting point to note about .xsession, when the last program in the script terminates so does Xwindows. So keep that in mind. For example if you kill the program gkrellm your entire Xwindows session will end.
 
Old 05-23-2006, 05:54 PM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Thanks!!! Now for some fun!
 
  


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
start eterm when X starts tshontikidis Linux - General 10 03-14-2006 05:21 PM
Xorg starts with no errors, but still no GUI... OEP Fedora 1 12-29-2004 03:10 AM
starting apps when fluxbox starts up imagreg Slackware 8 11-23-2004 10:47 PM
ALSA fails after XOrg+KDE starts ERTW Linux - Hardware 1 08-10-2004 08:37 AM
apps exec when x starts snocked Slackware 4 08-07-2003 01:39 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration