Running LXDE

GDM / KDM / LightDM

XDM

For XDM, you will need to have the ~/.xsession file in your home folder. If you do not have one, create it. XDM reads this file as a script. See the XDM documentation for more information. The final line in your ~/.xsession file should read:

exec startlxde

If you are starting X with startx, the same line would go in your ~/.xinitrc file.

An alternate way you can change the default session manager system-wide is by updating the link Debian holds in /etc/alternatives/:

# update-alternatives --config x-session-manager

You will be given a list of options. Select startlxde to select LXDE as your default session manager system-wide.

Keyboard layout switching

First of all, you need to add the necessary keyboard layouts into the /etc/default/keyboard config file (see also: Keyboard in Debian Wiki).

Here is an example with 5 layouts (US English, Ukrainian, Russian, German and French) and <Alt>+<Shift> as a layout changer key combination: