Answers for "ubuntu turn off suspend"

0

how to prevent idle ubuntu suspending

root@server:/ # sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.
root@server:/etc/pm/sleep.d#
Posted by: Guest on December-02-2021
0

ubuntu disable auto suspend command line

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Posted by: Guest on January-29-2021
-2

ubuntu disable auto suspend command line

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Posted by: Guest on July-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language