Hi,
I'd like to run xdotool in a script which is to be run when the machine wakes-up from suspend.
I've placed the script in /lib/systemd/system-sleep/
http://t.ly/5225
The script is executed (since it outputs to the /mnt/ramdisk/f file) but nothing happens in the xdotool part:
Code:
#!/bin/bash
case $1/$2 in
pre/*)
echo "Going to $2..."
;;
post/*)
echo "Waking up from $2...">/mnt/ramdisk/f
xdotool mousemove 720 13
;;
esac
Any suggestions?.
Thanks