According to SLiM's (x11/slim) configuration file, /usr/local/etc/slim.conf, session options are defined by xdg desktop files located in /usr/local/share/xsessions. I have the following files located in that directory:
However, there is no option to select a session in SLiM. Currently it just loads the session by executing the ~/.xinitrc file. Is there a way to get SLiM to recognize the desktop files located in /usr/local/share/xsessions?
Also, there are no shutdown/restart options from the SLiM login screen. Any way to enable these. I noticed that the cursor is not displayed either. I uncommented the option "hidecursor" and set it to "false" in /usr/local/etc/slim.conf but it didn't change anything.
--- Edit ---
Okay, I discovered that I press "F1" to cycle through the session options. And, there are special usernames to restart, shutdown, etc. The slim(1) manpage shows the following options for usernames: console, exit, halt, reboot, suspend.
However, SLiM still does not load sessions correctly. I still have to load sessions from ~/.xinitrc.
Code:
$ ls /usr/local/share/xsessions/
LXDE.desktop gnome.desktop openbox.desktop
cinnamon.desktop openbox-gnome.desktop
cinnamon2d.desktop openbox-kde.desktop
Also, there are no shutdown/restart options from the SLiM login screen. Any way to enable these. I noticed that the cursor is not displayed either. I uncommented the option "hidecursor" and set it to "false" in /usr/local/etc/slim.conf but it didn't change anything.
--- Edit ---
Okay, I discovered that I press "F1" to cycle through the session options. And, there are special usernames to restart, shutdown, etc. The slim(1) manpage shows the following options for usernames: console, exit, halt, reboot, suspend.
However, SLiM still does not load sessions correctly. I still have to load sessions from ~/.xinitrc.