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 09-27-2004, 05:25 PM   #1
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
Automatically launching programs upon X windows startup


What is the file that will allow me to specify commands that will automatically be run when X windows starts? I'm using Fedora Core 2.
 
Old 09-27-2004, 05:26 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
What WM/DE do you use?
For KDE, go to you KDE control Center
Session Manager
Startt with saved session

then:
open all programs you want ot immediately start, and go to your "K" button -> Save Session
 
Old 09-27-2004, 05:31 PM   #3
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by scuzzman
What WM/DE do you use?
For KDE, go to you KDE control Center
Session Manager
Startt with saved session

then:
open all programs you want ot immediately start, and go to your "K" button -> Save Session
I'm using Metacity on Gnome. I'd prefer to do it the old school way, by editing the configuration file myself But also knowing how to do it through say, gconf-editor, if that's the way, would be cool too.
 
Old 09-27-2004, 05:46 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Might wanna check out this thread, may prove useful.
I don't use Gnome - I use KDE 3.2
but look for a .gnome folder and open all config files in there... may see something. (Guessing at this point)

Last edited by scuzzman; 09-27-2004 at 05:49 PM.
 
Old 09-27-2004, 08:13 PM   #5
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
I don't see anything in ~/.gnome/ that does it...
 
Old 09-29-2004, 02:31 AM   #6
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
BUMP... wow, no replies. Thought it would be an easy one...
 
Old 09-29-2004, 02:38 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well ... if all else fails:

just create a ~/.xinitrc (or ~/.xsession depending on
how you start X [via session-manager or startx]) and
start the things you want to run within the gnome-session
before you start gnome...

E.g. (I use xdm, so here's my .xsession)
Code:
/usr/local/bin/tpb&
xscreensaver& 
exec /usr/local/bin/fluxbox
You'd obviously want to replace the
exec fluxbox
line with whatever starts Gnome.


Cheers,
Tink
 
Old 10-19-2004, 03:43 AM   #8
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Figured this out, for future reference. It can be done in Gnome with gnome-session-properties
 
  


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
automatically launching programs during start up nanjil Linux - Newbie 2 08-10-2005 12:17 AM
programs and windows launching on bootup ergo_sum Linux - Newbie 6 05-03-2005 10:18 PM
KDE 3.2: Kopete automatically launching when I enter X scuzzman Linux - Newbie 6 07-20-2004 11:55 PM
KDE edit programs automatically started on startup qwijibow Linux - Newbie 2 08-20-2003 09:23 PM
Automatically launching...? fxlee Linux - Newbie 3 01-10-2002 06:30 PM


All times are GMT -5. The time now is 02:44 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