Click to See Complete Forum and Search --> : Getting rid of Redhat's default X startup programs
idunno
12-26-2000, 12:02 PM
I installed RH 6.2, and when I start X a help browser and file manager are started for me. How do I change this so these programs don't start up?
More generally, what file(s) do I need to edit to tell X what to start automatically?
Thanks
jscott
12-26-2000, 01:53 PM
Originally posted by idunno:
More generally, what file(s) do I need to edit to tell X what to start automatically?
Just create a file in your home directory called .xinitrc
If you use Gnome/enlightenment put this line in the file:
gnome-session
For KDE:
startkde
blackbox:
blackbox
If you just close the helpbrowser et al, save your session and logout out (of X) they shouldn't come back up next time you startx
idunno
12-26-2000, 04:23 PM
Thanks alot for the help.
If you just close the helpbrowser et al, save your session and logout out (of X) they shouldn't come back up next time you startx
What file is being written to when I save my session like that?
Thanks again
jscott
12-26-2000, 05:45 PM
Originally posted by idunno:
What file is being written to when I save my session like that?
In your home directory do a ls -a to display the "dot" files. There's a bunch of gnome directories called stuff like:
.gnome/
.gnome-session/
.gnome-help-browser/
...and so on
cd into the .gnome/ dir and I believe the file 'session' contains all the relevent session data. I've been using Blackbox and KDE as of late (I like to play) so I could be mistaken about the file name. Just grep around in the .gnome*/ dir's and you'll find it.
*edited beacause "pay" should have been "play"
[This message has been edited by jscott (edited 26 December 2000).]