Skip to content

Instantly share code, notes, and snippets.

@VanDavv
Created August 4, 2018 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VanDavv/9988e1cd6b872c4d3d2944b20c29394c to your computer and use it in GitHub Desktop.
Save VanDavv/9988e1cd6b872c4d3d2944b20c29394c to your computer and use it in GitHub Desktop.
Raspberry PI scripted mouse move
#!/bin/bash
sleep 20
export DISPLAY=':0.0'
while [ 1 ]; do
xdotool mousemove 677 382 click 1
xdotool mousemove 10000 10000
sleep 10
xdotool mousemove 940 390 click 1
xdotool mousemove 10000 10000
sleep 10
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment