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.
Ubuntu – How to inhibit suspend from the command line
command linesshsuspend
Related Question
- Ubuntu – How to launch a new instance of Google Chrome from the command line
- Ubuntu – How to hibernate/suspend from the command line and do so at a specific time
- Ubuntu – How to suspend from command line such that screen is locked
- Ubuntu – How to inhibit suspend temporarily
- Ubuntu – How to temporarily disable sleep and hibernate from the command line
Best Answer
Use xdotool instead:
Then, in a bash loop like this