diff --git a/bin/kill_at_spi2.sh b/bin/kill_at_spi2.sh new file mode 100755 index 0000000..1920e24 --- /dev/null +++ b/bin/kill_at_spi2.sh @@ -0,0 +1,16 @@ +#!/usr/bin/sh +# +# killall_at_spi2.sh +# +# hack to fix an issue with xfce on arch linux where systemd hangs on reboot +# see: +# https://bbs.archlinux.org/viewtopic.php?id=276570 +# https://bbs.archlinux.org/viewtopic.php?pid=2032321 + +sleep 5 + +PID=$(pgrep -f at-spi-bus-launcher) + +if [ $PID ]; then + kill -s KILL $PID +fi diff --git a/sync.sh b/sync.sh index 81ee608..49d8706 100755 --- a/sync.sh +++ b/sync.sh @@ -36,6 +36,7 @@ SCRIPTS=" $HOME/bin/get_bat.sh \ $HOME/bin/hide_panel.sh \ $HOME/bin/iommu.sh \ + $HOME/bin/kill_at_spi2.sh \ $HOME/bin/monitors_off.sh \ $HOME/bin/pacman_notify.sh \ $HOME/bin/wmresize.sh \