automate X keyboad and mouse with xdotool

From thelinuxwiki
Revision as of 16:22, 9 April 2015 by Nighthawk (Talk | contribs)

Jump to: navigation, search


move mouse 1 pixel every minute (to avoid screen timeouts or afk status)

# while true; do xdotool mousemove_relative --sync 0 1; sleep 60; done &

same as above for for only the next 8 hours

# for 1 in {1..480}; do xdotool mousemove_relative --sync 0 1; sleep 60; done &