Is a script/program to keep my laptop ON, preventing it to go into sleep/hibernate mode, sometimes?
I do not want to changed the settings, because only sometimes I want it to stay awake, and other times I want to get it into sleep/hibernate mode.
Note: setting it to never go into hibernat/sleep mode and when leaving to press command + l
is not an option
caffeine
is available in the default repositories.Quoting from launchpad
Install via