diff options
Diffstat (limited to 'source/kde/kde')
-rw-r--r-- | source/kde/kde/build/sddm | 2 | ||||
-rw-r--r-- | source/kde/kde/patch/sddm.patch | 5 | ||||
-rw-r--r-- | source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff | 18 |
3 files changed, 24 insertions, 1 deletions
diff --git a/source/kde/kde/build/sddm b/source/kde/kde/build/sddm index 0cfbf0888..00750edc0 100644 --- a/source/kde/kde/build/sddm +++ b/source/kde/kde/build/sddm @@ -1 +1 @@ -2 +3 diff --git a/source/kde/kde/patch/sddm.patch b/source/kde/kde/patch/sddm.patch index a77c521f6..f03ee6262 100644 --- a/source/kde/kde/patch/sddm.patch +++ b/source/kde/kde/patch/sddm.patch @@ -1,3 +1,8 @@ # Properly honor supplemental groups, https://github.com/sddm/sddm/issues/1159 : cat $CWD/patch/sddm/sddm_revert-honor-PAM-supplemental-groups.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } cat $CWD/patch/sddm/sddm_honor-PAM-supplemental-groups-v2.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + +# Don't source $HOME/.xession in SDDM's Xsession script. It may cause the +# wrong session type to launch, or run a second copy of dbus-run-session which +# will break logout: +cat $CWD/patch/sddm/sddm.do.not.source.HOME.xsession.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff b/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff new file mode 100644 index 000000000..c14b266d6 --- /dev/null +++ b/source/kde/kde/patch/sddm/sddm.do.not.source.HOME.xsession.diff @@ -0,0 +1,18 @@ +--- ./data/scripts/Xsession.orig 2020-11-03 01:41:06.000000000 -0600 ++++ ./data/scripts/Xsession 2020-12-15 14:16:30.968724577 -0600 +@@ -94,9 +94,12 @@ + if [ -f "$USERXSESSIONRC" ]; then + . "$USERXSESSIONRC" + fi +-if [ -f "$USERXSESSION" ]; then +- . "$USERXSESSION" +-fi ++ ++# Commented out because $HOME/.xsession may start the wrong session type or ++# cause dbus-run-session to start twice. ++#if [ -f "$USERXSESSION" ]; then ++# . "$USERXSESSION" ++#fi + + if [ -z "$*" ]; then + exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session." |