LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-07-2006, 07:22 PM   #1
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Rep: Reputation: 15
Automatically Start A Program


Hello all,
I am currently attempting to start a program after X starts but before gnome-panel starts. Anyone know how I can possibly do this?

Thanks In Advanced,
Paul
 
Old 06-07-2006, 07:54 PM   #2
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Have a look at /etc/X11/xinit/xinitrc. You may have one located in your home directory: ~/.xinitrc. Google around about going about editing, since I'm not savy with xinitrc. I may look into it now because of this topic.
 
Old 06-08-2006, 06:01 PM   #3
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Original Poster
Rep: Reputation: 15
I just cannot seem to figure out how to add the entry correctly to xinitrc and there are not many articles online to help. All I need is the following command to run before the gnome panel.
Quote:
xcompmgr -c -r 5 -l 5 -t 5 -I 0.028 -O 0.03 -f -F -C
 
Old 06-09-2006, 12:39 PM   #4
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Try the following "man xinitrc".
 
Old 06-09-2006, 02:57 PM   #5
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Original Poster
Rep: Reputation: 15
ok so I had no man for xinitrc. After a little searching I figured out that xinitrc isn't loaded if you are using GDM. Instead of xinitrc it uses xsession. So I figured out how to make xcompmgr start with the desired arguments. However, when I do this, xsession runs that and then does not do any of the commands that come after that until xcompmgr is ended which means that it never loads gnome. How can I make it run that and continue running?
 
Old 06-09-2006, 03:10 PM   #6
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Original Poster
Rep: Reputation: 15
ok, I figured it out, I just had to add a "&" after the command, all set, thanks everyone.
 
  


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 do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
How to set a program to automatically start wfernley Linux - Newbie 8 04-16-2005 01:20 PM
How do I start a program automatically when KDE starts up? zmaint Linux - Software 8 12-21-2004 04:52 PM
How do I start a program automatically when I boot up? bad_andy Mandriva 2 11-27-2004 08:15 PM
start apps automatically on start up? chunlee Linux - Newbie 3 09-04-2004 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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