[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: the .xinitrc and .xsession puzzle



On Sun, Jun 10, 2001 at 12:42:47PM +0200, Alex Suzuki wrote:
> Hello friends,
> 
> I wanted to ask you guys what ~/.xinitrc and ~/.xsession are all about.
> I run Debian woody, GNOME and sawfish as my windowmanager (sawfish-gnome
> package).
> Somehow GNOME just can't remember its settings, and I think I screwed up
> those files anyway. Which one gets read when I start X with startx?
> I don't use a display manager like xdm or gdm or whatever.
> 
> this is what my .xinitrc looks like:
> 
> galeon -s &
> xsetroot -solid black &
> exec sawfish &
> panel
> 
> 
> This is what .xsession looks like
> 
> #!/bin/sh
> 
> xsetroot -solid slategrey &
> xrdb -load $HOME/.Xdefaults
> exec /usr/bin/gnome-session
> 
> 
> Could anybody solve this puzzle for me? Can anyone with a similar
> configuration (GNOME/sawfish) post his/her .xinitrc and .xsession?

.xinitrc is usually the file used for startx but with debian .xsession
can be used with startx.  So really choose one or the other:)

Choosing .xsession allows you the flexibility of starting with either
startx or xdm so in some situations that would be the logical choice.

Which ever file you choose make sure all but one of the commands are
back-grounded with "&".  Usually back-grounding everything but you're 
window manager is the way to go.
hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke




Reply to: