You are not logged in.
Hi guys, I'm a new #! user. After getting used to #!, I installed the i3 window manager through the debian repos, verified that i3 worked, and finally edited my /etc/slim.conf file and changed the following line:
sessions openboxto:
sessions i3However, when I reach the graphical login, I still start an openbox session by default, i.e. if I just enter my username and password without doing anything else. But if I press f1, "Session: i3" appears on the screen and then I can log in to an i3 session. Does anybody know what's going on and how to fix it so that I don't have to press f1 to start an i3 session?
Last edited by Poohblah (2013-05-30 01:59:44)
Offline
i remember this problem and there was a solution, but all i can remember now is a workaround with a hammer:
change this line
login_cmd exec /bin/bash -login /etc/X11/Xsession %sessionto
login_cmd exec /bin/bash -login /etc/X11/Xsession i3iirc, the default session is defined elsewhere.
it would seem that slim.conf is ahead of the actual implementation of slim.
if you change it all back to openbox-session you will still have a choice when pressing F1 although according to the logic of the conf file you should not.
Last edited by ohnonot (2013-05-30 19:10:17)
Offline
Thank you for your help ohnonot. Although I have not figured out how to solve this problem, there are some hints at a possible solution on the SLiM ArchWiki. It seems that the session variable is not set until f1 is pressed, and SLiM defaults the value of the session variable to openbox, or something along those lines. I have chosen not to pursue this problem further at the moment because I have decided to keep both i3 and Openbox as options during login. When I get the impetus to stick to one window manager, I am sure I will return to this issue.
Last edited by Poohblah (2013-05-31 06:32:58)
Offline
In Debian (and I'm guessing Crunchbang, since it basically is Debian with a few tweaks), SLiM will respect the session set as default by, in Crunchbang:
sudo update-alternatives --config x-session-managerSo run that and I believe you will be able to pick your desired session as default.
(I've always just run Openbox in Crunchbang, so I never had occasion to try this, but it works in Debian.)
Last edited by CFWhitman (2013-11-14 22:36:05)
Offline
^What CFWhitman said, and also check that i3 is selected in:
$ sudo update-alternatives --config x-window-managerPostpone all your duties; if you die, you won't have to do them ..
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.