custom scripts

2014 - 06.13

this is for /etc/pm/sleep.d/jackd set file to executable otherwise pulse wont restart jackd which eats up cpu while hanging, every suspend resume.

 

#!/bin/bash
case “$1” in
#   hibernate|suspend)
#       sudo -u USERNAME env DISPLAY=:0 zenity –info –text “do stuff on suspend”
#        ;;
thaw|resume)
#BEEP
killall jackd -9 & sleep 55 & killall pulseaudio;
;;
esac

Comments are closed.