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

Re: changing default screen manger in x



"Rev. Joseph Carter" <knghtbrd@earthlink.net> writes:

> On Mon, May 25, 1998 at 10:04:38PM +0200, Martin Bialasinski wrote:
> > Make sure you have "allow-user-xsession" in /etc/X11/config, then create
> > the file .xsession in your homedir. It should be something like:
> > 
> > xterm &  # start a xterm
> > xterm &  # start a second one
> > fvwm2    # start the windowmanager. Note the missing &
> 
> those should be exec'd, ie exec xterm &, etc.

WHAT?

First off, not using the "exec" anywhere is _just_fine_.  Some people
don't like not using that because then there's an extra process
floating around until you exit X.  If, however, you do decide that you 
can't afford the (rather small) overhead, or you decide that it's
messy to have extra processes just floating there, only the last line
(the fvwm2 line) should have "exec" at the front.  If you want to do
any cleaning up after you exit X, you need that process hanging around 
and so can't use exec.

"exec <command> &" is a bit non-sensical.  It does nothing different
from "<command> &" and just spreads confusion about what should be in
an .xsession file.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: