Do you need programmatically schedule some keyboard and mouse input in linux?
Look no further
xdotool is the solution :-)
the installation is as easy as typing
sudo apt-get install xdotool
and assuming you need to do a (left) click on the mouse but only 10 seconds after you left your desk:
sleep 10 ; xdotool click 1
Bonus
obviously it also work if you have to send the commands in a RDP session :-)
No comments:
Post a Comment