...
Can be ran as both root or non-root privileges
Code Block |
---|
|
sudogsettings systemctlset mask sleep.target suspend.target hibernate.target hybrid-sleep.target |
To re-enable:
Code Block |
---|
|
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target |
...
org.gnome.desktop.session idle-delay 0 |
Solution found from this thread: https://askubuntu.com/questions/47311473037/how-doto-ipermanently-disable-my-system-from-going-to-sleepsleep-suspend
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@209e85 |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("sleep","disable","timer","ubuntu") and type = "page" and space = "ESKB" |
---|
labels | Disable ubuntu sleep timer |
---|
|
...