evertiro / cdm

Console Display Manager
http://evertiro.com
GNU General Public License v2.0
428 stars 40 forks source link

Default sessions from /usr/share/xsessions instead of /etc/X11/Sessions #17

Open lahwaacz opened 11 years ago

lahwaacz commented 11 years ago

I think it would be better to support loading of default sessions from /usr/share/xsessions instead the current /etc/X11/Sessions, which is not standardized (I think) and presumes that the user creates the scripts. Many window managers install their .desktop file under /usr/share/xsessions, so it's definitely better.

fyra commented 11 years ago

I started work on this, but I'm uncertain as to what is likely to be in these .desktop-files and whether looking for the "Exec=" part will be enough.