Re: xsession file

2007-07-20 Thread Bob Proulx
Nguyen, Cuong K. wrote: > Bob Proulx wrote: > > #!/bin/bash --login > > exec x-session-manager > ... > Follow your instruction, I tried: > > #!/bin/sh Grr... That is *NOT* what I instructed there. > exec gnome-session > > and it works like charm. I still do not understand why I should have

Re: xsession file

2007-07-20 Thread Bob Proulx
Bhasker C V wrote: > .xsession is a file which to my knowledge can only take one command > at the end. The file must is not 'shelled' but 'exec'ed. > So you can place commands in the file one per line or a script > but the end of the file must be an exec and not a script/command that > returns. I

Re: xsession file

2007-07-20 Thread Bob Proulx
John Hasler wrote: > Fvwm2 is now fvwm (has been for quite a while). 'fvwm2' is a command that explicitly selects fvwm version 2 window manager. In the fvwm package, now version 2 with fvwm1 being the older version 1 program, two commands are installed. One is /usr/bin/fvwm2 which is the binary

Re: xsession file

2007-07-20 Thread Bob Proulx
Bob Proulx wrote: > Putting that all together gets you: > > #!/bin/bash --login > exec x-session-manager Grr... I should have said this. I hate it when I send too quickly and miss the obvious. So I will try to make this worthwhile with a little more explaination. #!/bin/bash --login e

Re: xsession file

2007-07-20 Thread Bob Proulx
Nguyen, Cuong K. wrote: > Thanks for you reply, but I have some (maybe very stupid because Debian is > quite new to me) questions: > > 1. I do not have fvwm2 (not found when type fvwm2 --help as root) As I said in my note fvwm2 is what *I* use but was only furnished as an example. The one you wa

Re: xsession file

2007-07-20 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/20/07 21:17, Nguyen, Cuong K. wrote: > Hi John, > > Even fvwm not found in my system (install from the latest DVD downloaded > from debian) :( > > Sorry, I only know that I am now using Gnome, so what is a windows > manager then? Is gnome a des

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
Hi John, Even fvwm not found in my system (install from the latest DVD downloaded from debian) :( Sorry, I only know that I am now using Gnome, so what is a windows manager then? Is gnome a desktop shipped with that windows manager? KC. John Hasler wrote: I do not have fvwm2 (not found wh

Re: xsession file

2007-07-20 Thread John Hasler
> I do not have fvwm2 (not found when type fvwm2 --help as root) Fvwm2 is now fvwm (has been for quite a while). > my default windows manager is gnome Gnome is not a window manager. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contac

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
Hi Bob, Thanks for you reply, but I have some (maybe very stupid because Debian is quite new to me) questions: 1. I do not have fvwm2 (not found when type fvwm2 --help as root) 2. my default windows manager is gnome, how should it be startkde there? so far, here is what I can do with .xsession

Re: xsession file

2007-07-20 Thread Bhasker C V
.xsession is a file which to my knowledge can only take one command at the end. The file must is not 'shelled' but 'exec'ed. So you can place commands in the file one per line or a script but the end of the file must be an exec and not a script/command that returns. Or in other words, the .xsessi

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
Hi Ron, NOT using Session relates to another problem that I am having now: using xbindkeys with dual head. If I add "xbindkeys" in Desktop - Preferences - Sessions, then xbindkeys works in just ONE of my screen (:0.0), and I need to move mouse to another screen (:0.1) and run xbindkeys on that sc

Re: xsession file

2007-07-20 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/20/07 19:47, Nguyen, Cuong K. wrote: > Hi all, > > I have Debian Etch 4.0 and it is quite new to me. I want to customize > some scripts starting with Gnome every time when I boot up and log in, > and the method chosen is to use ~/.xsession file.

Re: xsession file

2007-07-20 Thread Bob Proulx
Nguyen, Cuong K. wrote: > I need to create one, but then I do not know what is the "official" > command(s) to pass off the process to gnome whenever the script is > implement. Tried gdm, xdm, /etc/init.d/gdm, startx etc... with no > luck. Everybody has an idea? Use something like this: #!/bin/b