Re: the .xinitrc and .xsession puzzle
On Sun, Jun 10, 2001 at 06:49:19PM +0200, Alex Suzuki uttered: Thanks kent. I'm now using .xinitrc exclusively. xsetroot -solid black sawfish panel I'm also backgrounding the windowmanager because I'm using gnome. E? If you want to drag in gnome you put 'gnome-session' at the end of .xinitrc -- Steve I'm a sysadmin because I couldn't beat a blind monkey in a coding contest. --Me
Re: the .xinitrc and .xsession puzzle
On Mon, Jun 11, 2001 at 05:53:45PM +1000, Steve Kowalik wrote: E? If you want to drag in gnome you put 'gnome-session' at the end of .xinitrc I don't really need GNOME's session capability. The only thing I use of GNOME is the panel. Alex -- Alex Suzuki ..:.. [EMAIL PROTECTED] ..:.. http://www.cynox.ch GEEK code: GCS d+(-) s a--- C+++ UL P+ L+++ !E W++ N++ o? K? w-- !O !M V- PS+ !PE Y+ PGP- t+++ 5+ X@ R- tv--@ b+ DI D++ G-- e* h-- r++ y+
the .xinitrc and .xsession puzzle
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? Regards, Alex -- Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch To send me an email, remove NOSPAM from the above address
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
Re: the .xinitrc and .xsession puzzle
On Sun, Jun 10, 2001 at 11:14:33AM -0500, ktb wrote: On Sun, Jun 10, 2001 at 12:42:47PM +0200, Alex Suzuki wrote: back-grounded with . Usually back-grounding everything but you're window manager is the way to go. hth, kent Thanks kent. I'm now using .xinitrc exclusively. xsetroot -solid black sawfish panel I'm also backgrounding the windowmanager because I'm using gnome. Alex -- Alex Suzuki | [EMAIL PROTECTED] | http://www.cynox.ch To send me an email, remove NOSPAM from the above address
Re: the .xinitrc and .xsession puzzle
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? In my home dir i've only the .xsession file, and the only thing worth of comment is the gnome-session command, i've attached it anyway (the gnome-session command is in the gnome-session package =). You could control which program to launch with the gnome-control-center in the Session section... Andrea #!/bin/bash # xconsole -title Debian GNU/Linux Console -geometry 600x69+300+20 -daemon -file /dev/xconsole # You can replace the line above by seting a WINDOW_MANAGER environment # variable to set your preferred WM. export WINDOW_MANAGER=sawfish # Now execute the window manager and we'll be on our way. Most people have # window managers they like better than twm -- install the corresponding # Debian package and edit the following line appropriately if you're one of # them. gnome-session
Re: the .xinitrc and .xsession puzzle
hi alex .xinitrc is used when you run xinitrc or startx to bring up X11 .xsession is used when you log into the X11 screen ( xdm ) if you want your gui and x11/windows to look the same no matter how you login... make the two files the same ( symlink one to the other ) c ya alvin On Sun, 10 Jun 2001, 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?
Re: the .xinitrc and .xsession puzzle
On Sun, Jun 10, 2001 at 03:56:24PM -0700, Alvin Oga wrote: hi alex .xinitrc is used when you run xinitrc or startx to bring up X11 .xsession is used when you log into the X11 screen ( xdm ) if you want your gui and x11/windows to look the same no matter how you login... make the two files the same ( symlink one to the other ) In debian .xsession is read when you issue the startx command as well. kent -- From seeing and seeing the seeing has become so exhausted First line of The Panther - R. M. Rilke
Re: the .xinitrc and .xsession puzzle
On Sun, Jun 10, 2001 at 12:42:47PM +0200, Alex Suzuki wrote: | 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. Like Andrea I only have a .xsession file, and it contains one line: gnome-session. GNOME is really good at forgetting its state, unless you tell it you want it to remember. This can be done in serveral ays : o set automatically save changes to session in the 'Startup Programs' section in the 'Control Center' o slelect 'save changes' in the Log Out dialog o click Foot-Settings-Save Current Session at any point to save the settings at that point HTH, -D