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

Re: Off topic: XDM query



On Mon, 1 Feb 1999, Gavin Cato wrote:

> Does anyone know how to tell XDM to launch a different WM than TWM?

You tell it what X config file to look for, and that file launches your 
wm.  This setting is in /etc/X11/xdm/Xsession; mine looks like this:

startup=$HOME/.xsession
resources=$HOME/.Xresources

if [ -x "$startup" ]; then
    exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
    exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
    exec /etc/X11/xinit/Xclients
else
    # The following is obsoleted by the above resources handling
    #if [ -f "$resources" ]; then
    #   xrdb -load "$resources"
    #fi
    exec xsm
fi

So if you have ~/.xsession or ~/.Xclients, you can start whatever wm you
want with a command at the end.

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
    ___
   /.  \    Gregory Fall                Phone: 734-913-4662
   \/  /    University of Michigan      Fax:   734-763-7130
     \ \    2455 Hayward Street         email: gmfall engin umich edu
   __/_/    Ann Arbor, MI 48109                gmf dweezil dynip com



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