From 54f66ea623e2f4c1dc51d946dc5c3c7451acb83d Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 28 Apr 2022 13:53:16 -0400 Subject: [PATCH] xinitrc: add .xinitrc --- .xinitrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .xinitrc diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..fe1c468 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,15 @@ + +# NOTE: this fixes a bug where at-spi-bus-launcher was hanging systemd on reboot +# except it doesn't :(, can still force kill at-spi-bus-launcher before reboot + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +if [ -f /usr/bin/startxfce4 ] ; then + /usr/bin/startxfce4 +fi +