Browse Source

scripts: add kill_at_spi2.sh

master
cinnaboot 4 years ago
parent
commit
4c99f63ff4
  1. 16
      bin/kill_at_spi2.sh
  2. 1
      sync.sh

16
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

1
sync.sh

@ -36,6 +36,7 @@ SCRIPTS="
$HOME/bin/get_bat.sh \ $HOME/bin/get_bat.sh \
$HOME/bin/hide_panel.sh \ $HOME/bin/hide_panel.sh \
$HOME/bin/iommu.sh \ $HOME/bin/iommu.sh \
$HOME/bin/kill_at_spi2.sh \
$HOME/bin/monitors_off.sh \ $HOME/bin/monitors_off.sh \
$HOME/bin/pacman_notify.sh \ $HOME/bin/pacman_notify.sh \
$HOME/bin/wmresize.sh \ $HOME/bin/wmresize.sh \

Loading…
Cancel
Save