aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-02 14:35:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-02 14:35:45 -0300
commitf76ec64c4a5ae45d085dde32c93c7526f57bb739 (patch)
tree41a04ce277bbf21f37d5e5fe5f514933e06840ed /xsessionrc.dot.link
parent07234cc43a097cdec65461aa9f09e680a928befb (diff)
downloadxsession-f76ec64c4a5ae45d085dde32c93c7526f57bb739.tar.gz
xsession-f76ec64c4a5ae45d085dde32c93c7526f57bb739.tar.bz2
Fix: implement SETCDPATH workaround
Diffstat (limited to 'xsessionrc.dot.link')
-rwxr-xr-xxsessionrc.dot.link5
1 files changed, 4 insertions, 1 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index 07cf2db..bb08711 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -85,7 +85,10 @@ export SSH_ASKPASS="/usr/lib/ssh/x11-ssh-askpass"
#fi
# Make sure to load the profile
-. $HOME/.profile
+#
+# Use SETCDPATH workaround as there might be some weird bug
+# somewhere killing the X11 session if CDPATH is set.
+SETCDPATH=false && . $HOME/.profile
# Additional applications depending on the machine type
#if laptop-detect; then