Sunday, December 22, 2013

Choose Login Session in Debian

Open the slim.conf file
wiz@cb-DOC:~$ vi /etc/slim.conf
Yank the following lines login_cmd in the slim.conf

 36 # login_cmd           exec /bin/sh - ~/.xinitrc %session

 37 login_cmd           exec /bin/bash -login /etc/X11/Xsession %session

# Commands executed when starting and exiting a session.

In Crunchbang you need to enable the session chooser by pressing F1-Key and heres how to enable to get the session options at login menu.

# Available sessions (first one is the default).

 52 # The current chosen session name is replaced in the login_cmd

 53 # above, so your login command can handle different sessions.

 54 # see the xinitrc.sample file shipped with slim sources

 55 #sessions            default,startxfce4,openbox,ion3,icewm,wmaker,blackbox,awesome

 56 sessions            default,openbox-session,awesome,startxfce4,wm

Yank the sessions line and include your available sessions on your desktop to choose from the login menu to show up while you login the next time.

No comments:

Post a Comment