summaryrefslogtreecommitdiff
path: root/system/sddm/xsession.patch
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-11-03 22:16:54 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-03 23:18:38 +0000
commitd74bb259a9038cdbdc7f8ccda71275a466c94f66 (patch)
tree131bd0d72f09b4686f923c2d4b1614ce01b8810e /system/sddm/xsession.patch
parent4b65b136483721f396cd8a21fbd806068d7602b4 (diff)
downloadslackbuilds-d74bb259a9038cdbdc7f8ccda71275a466c94f66.tar.gz
system/sddm: Patched + important info in README.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sddm/xsession.patch')
-rw-r--r--system/sddm/xsession.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/sddm/xsession.patch b/system/sddm/xsession.patch
new file mode 100644
index 0000000000..5bef451944
--- /dev/null
+++ b/system/sddm/xsession.patch
@@ -0,0 +1,22 @@
+diff -Naur a/data/scripts/Xsession b/data/scripts/Xsession
+--- a/data/scripts/Xsession 2017-11-03 11:49:19.374409491 +0000
++++ b/data/scripts/Xsession 2017-11-03 11:50:17.807893273 +0000
+@@ -67,7 +67,6 @@
+ # by the scripts to work
+ xsessionddir="/etc/X11/Xsession.d"
+ OPTIONFILE=/etc/X11/Xsession.options
+-USERXSESSION=$HOME/.xsession
+ USERXSESSIONRC=$HOME/.xsessionrc
+ ALTUSERXSESSION=$HOME/.Xsession
+
+@@ -90,10 +89,6 @@
+ fi
+ [ -f $HOME/.Xresources ] && xrdb -merge $HOME/.Xresources
+
+-if [ -f "$USERXSESSION" ]; then
+- . "$USERXSESSION"
+-fi
+-
+ if [ -z "$@" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else