Is there any working utility that can simulate mouse movements on a ubuntu?
Important: I only want that utility to control the mouse if the machine is idle for X minutes.
Of course I could use xdotool
to simulate some movement, but how would I detect if the pc is idle for x minutes? I could not find any working tool for linux...
There's a program that moves the mouse when it detects you are away, or idle.
https://github.com/carrot69/keep-presence/
You can install it from snap:
sudo snap install keep-presence
Then run it:
keep-presence --seconds 30
It will move the mouse after 30 seconds if it detects that you are idle.
Meanwhile I created my own script: