sddm-0.18.0-Xsession.patch 606 B

12345678910111213141516171819202122232425
  1. --- a/data/scripts/Xsession 2016-08-28 14:52:04.910181422 +0200
  2. +++ b/data/scripts/Xsession 2017-10-21 15:25:47.668886596 +0200
  3. @@ -50,6 +50,10 @@
  4. ;;
  5. esac
  6. +# Make D-Bus and ConsoleKit start properly, see:
  7. +# /etc/X11/xinit/xinitrc.d/{80-dbus,90-consolekit}
  8. +command="$@"
  9. +
  10. [ -f /etc/xprofile ] && . /etc/xprofile
  11. [ -f $HOME/.xprofile ] && . $HOME/.xprofile
  12. @@ -94,8 +98,8 @@
  13. . "$USERXSESSION"
  14. fi
  15. -if [ -z "$*" ]; then
  16. +if [ -z "$command" ]; then
  17. exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
  18. else
  19. - exec $@
  20. + exec $command
  21. fi