Auto login & auto refresh

By | January 13, 2026

xdotool is a really powerful tool to control a GUI if tools like Tampermonkey doesn’t work and you don’t want to jump into Selenium. Caveat. You need to be running Ubuntu (or other Linux based systems) and have X11 as well.

Some simple commands are:

xdotool getmouselocation
xdotool movemouse "x" "y" click 1
xdotool ctrl+r

These commands require xdotool which you can get via:

sudo apt update
sudo apt install xdotool
xdotool --version

Leave a Reply

Your email address will not be published. Required fields are marked *