Package: sddm
Version: 0.13.0-1
Severity: important

So, on a stretch system with sddm, there does not appear to be any way
to tell it to launch my ~/.xsession.

Instead, it only offers plasma (since that is the only thing in
/usr/share/xsession).

I want my ~/.xsession to be used as my session command.

I did a quick look, and it appears Debian's /etc/X11/Xsession supports
that just fine, as long as the user sessions are allowed in
/etc/X11/Xsession.options (and they are by default).  The thing that
calls Xsession just must not pass a session name as $1.

Please support this.



[ For now, I've done the following horrible workaround:
 root@orinoco:~# cat /usr/share/xsessions/local-UserSession.desktop 
 [Desktop Entry]
 Encoding=UTF-8
 Type=XSession
 Exec=home-xsession
 DesktopNames=UserSession
 Name=User Session
 root@orinoco:~# cat /etc/X11/Xsession.d/02-local-allow-xsession 
 # We have a local /usr/share/xsessions/local-UserSession.desktop
 # that sets the session command to "home-xsession".  The scripts
 # in /etc/X11/Xsession do ~/.xsession if no argument is passed to
 # the session script, so shift it away.  Eww.  -- weasel 20161126
 
 if [ "$1" = "home-xsession" ] ; then
         shift
 fi
]

Reply via email to