aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-07-21 11:46:40 +0200
committerMattias Andrée <maandree@kth.se>2021-07-21 11:46:40 +0200
commit0604acd87cd8af7bdc284b481b8dca27ef00d431 (patch)
treec9ecbe4595340e011da6587e997cba3796036d22
parentSet x cursor later (diff)
downloaddotfiles-0604acd87cd8af7bdc284b481b8dca27ef00d431.tar.gz
dotfiles-0604acd87cd8af7bdc284b481b8dca27ef00d431.tar.bz2
dotfiles-0604acd87cd8af7bdc284b481b8dca27ef00d431.tar.xz
Ignore systemd entry in xinitrc that stops your display from starting
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xorg-xinit/xinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-xinit/xinit b/xorg-xinit/xinit
index bd1874c..3d3d0bb 100644
--- a/xorg-xinit/xinit
+++ b/xorg-xinit/xinit
@@ -1,7 +1,9 @@
# -*- shell-script -*-
for f in /etc/X11/xinit/xinitrc.d/*; do
- if test -r "$f"; then
+ if test "$f" = /etc/X11/xinit/xinitrc.d/50-systemd-user.sh; then
+ # Ignore that file, it causes a catastrophic failure that is hard to locate
+ elif test -r "$f"; then
. -- "$f"
fi
done