Click to See Complete Forum and Search --> : Changing Default WM on Debian


Dun'kalis
07-22-2002, 11:13 PM
I installed Enlightenment on Debian, and then I installed a few other window managers. I know I can change WM through the Debian menu, but how do I change the default?

danrees
07-23-2002, 04:06 AM
Put this in a ~/.xsession file:

#!/bin/sh
#
# invoke global X session script
. /etc/X11/Xsession /usr/bin/enlightenment

Obviously you should change /usr/bin/enlightenment to the window manager of your choice.

If you don't have GNOME installed you can use:

# update-alternatives --config x-window-manager

However, installing GNOME (or KDE I believe) creates an x-session-manager, which takes preference. In this case you have to use the ~/.xsession method.