summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2023-02-04 01:03:44 -0600
committerMatthias Maier <tamiko@gentoo.org>2023-02-04 01:03:44 -0600
commit66972956956bc3944b4546b201eb13f009b4a1a0 (patch)
tree391db840bb8c7c539c4d00bac0d0898b2abb6273 /x11-misc/sddm/files/sddm-0.19.0-Xsession.patch
parentsci-libs/ginkgo: remove (diff)
downloadtamiko-66972956956bc3944b4546b201eb13f009b4a1a0.tar.gz
tamiko-66972956956bc3944b4546b201eb13f009b4a1a0.tar.bz2
tamiko-66972956956bc3944b4546b201eb13f009b4a1a0.zip
x11-misc/sddm: new package, add 9999
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'x11-misc/sddm/files/sddm-0.19.0-Xsession.patch')
-rw-r--r--x11-misc/sddm/files/sddm-0.19.0-Xsession.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch b/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch
new file mode 100644
index 0000000..e1e3c15
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.19.0-Xsession.patch
@@ -0,0 +1,24 @@
+--- a/data/scripts/Xsession
++++ b/data/scripts/Xsession
+@@ -50,6 +50,10 @@
+ ;;
+ esac
+
++# Make D-Bus start properly, see:
++# /etc/X11/xinit/xinitrc.d/80-dbus
++command="$@"
++
+ [ -f /etc/xprofile ] && . /etc/xprofile
+ [ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+@@ -94,8 +98,8 @@
+ . "$USERXSESSION"
+ fi
+
+-if [ -z "$*" ]; then
++if [ -z "$command" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else
+- exec $@
++ exec $command
+ fi