Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
You also might want to try this script 1, it inhibits to suspend/turn off your machine, I use it when watching movies.
1 http://linuxtidbits.wordpress.com/2009/09/08/movietime-stop-powersaving-to-watch-a-movie/ |
|||
|
|
|
Use xdotool instead:
Then, in a bash loop like this
|
|||
|
|
|
You might want to disable power management in |
|||||||
|
