It is distribution-dependant. Generally, GDM and KDM4 both have a search path that includes /usr/share/xsessions/ , so I put the files there. But sometimes (on Mandriva-derived distribution), there are specific tools and locations that must be used ...
Thank you.
Would you please itemize those locations?
From what I have read, /usr/share/xsessions is more or less a default location.
Thus far I know of the following:
/etc/X11/sessions /etc/kde/kdm/sessions /usr/share/xsessions /usr/share/apps/kdm/sessions /usr/share/config/kdm/sessions /usr/share/config/kdm/Xsession /var/lib/menu-xdg/xsessions
I am curious about other login managers, such as SLiM and LightDM.
I am gathering information for bug report 1934.
Darrell
On 02/15/2014 10:57 AM, Darrell Anderson wrote:
It is distribution-dependant. Generally, GDM and KDM4 both have a search path that includes /usr/share/xsessions/ , so I put the files there. But sometimes (on Mandriva-derived distribution), there are specific tools and locations that must be used ...
Thank you.
Would you please itemize those locations?
From what I have read, /usr/share/xsessions is more or less a
default location.
Thus far I know of the following:
/etc/X11/sessions /etc/kde/kdm/sessions /usr/share/xsessions /usr/share/apps/kdm/sessions /usr/share/config/kdm/sessions /usr/share/config/kdm/Xsession /var/lib/menu-xdg/xsessions
I am curious about other login managers, such as SLiM and LightDM.
I am gathering information for bug report 1934.
Darrell
With TDE I am putting it in /usr/share:
# install X11 session file /usr/share/xsessions (changed from /etc/X11 sessions) install -d -m755 ${pkgdir}/usr/share/xsessions install -m755 ${srcdir}/trinity.desktop ${pkgdir}/usr/share/xsessions/trinity.desktop
On Arch I also find
/usr/share/xsessions/fluxbox.desktop /usr/share/xsessions/enlightenment.desktop /usr/share/xsessions/gnome.desktop /usr/share/xsessions/kde.desktop (old) /usr/share/xsessions/openbox.desktop /usr/share/xsessions/sawfish.desktop /usr/share/xsessions/wmaker.desktop
and links in /usr/share/xsessions pointing to:
/usr/share/e16/misc/e16-gnome.desktop /usr/share/e16/misc/e16-kde.desktop /usr/share/e16/misc/e16.desktop /usr/share/apps/kdm/sessions/kde-plasma-safe.desktop /usr/share/apps/kdm/sessions/kde-plasma.desktop