can someone write me a working bash script that shuts pc down after 30mins no mouse movement for dom0?
can someone write me a working bash script that shuts pc down after 30mins
There is likely a better way of asking this question. Nonetheless, a quick search of “linux shutdown command” gave this (hope it helps):
sudo shutdown +30
no mouse movement for dom0?
Not sure what you mean. If you shutdown, then your mouse can’t move…because you shutdown…
barto
3
If you’re looking for an “idle shutdown”: