You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running long terminal processes (builds, training jobs, etc.), you sometimes want to leave your computer without it shutting off so the process can complete while you're gone,
so im sharing a method to make that happen, along with suggesting that it be added to the System Sleep manual page about temporarily disabling sleep for long-running processes.
you can temporarily disable all sleep states by running this command in a terminal window: sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
and turn-off screensaver: xset s off
and re-enable sleep and wallpaper by: sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target xset s on
if there are any better methods please let me know, this is just the first one I thought of.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when running long terminal processes (builds, training jobs, etc.), you sometimes want to leave your computer without it shutting off so the process can complete while you're gone,
so im sharing a method to make that happen, along with suggesting that it be added to the System Sleep manual page about temporarily disabling sleep for long-running processes.
you can temporarily disable all sleep states by running this command in a terminal window:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.targetand turn-off screensaver:
xset s offand re-enable sleep and wallpaper by:
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.targetxset s onif there are any better methods please let me know, this is just the first one I thought of.
Beta Was this translation helpful? Give feedback.
All reactions