I am looking for a way to click the mouse, as it is in its current location or in a specific location on the screen, after x minutes. Is there any way to do this with a terminal command (preferably with the programs Ubuntu has installed by default)?
Yes there is
To click the mouse via terminal command type:
where button is 1 for left mouse button, 2 for middle, 3 for right, 4 for wheel up and 5 for wheel down.
So a click with the left mouse button is:
To move the mouse to a specific position on the screen type
So the mouse is moved 120 pixels right and 100 pixels down from the top left corner of the screen.
If you want to use this in a cron job (to repeat this every x minutes), don't forget to populate the