-
-
Notifications
You must be signed in to change notification settings - Fork 28
1.15 Disable Sleeping Processes (Suspending)
Tomato6966 edited this page Nov 7, 2021
·
3 revisions
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo nano /etc/systemd/logind.conf
[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
Then save (CTRL+S) and exit (CTRL+X)
systemctl restart systemd-logind.service
sudo nano /etc/systemd/sleep.conf
AllowSuspend=no
AllowHibernation=no
Then save (CTRL+S) and exit (CTRL+X)
sudo reboot
-
1 All needed Console Commands
- 1.1 Directory Navigation
- 1.2 System Information
- 1.3 Hardware Information
- 1.4 File and Directory Cmds
- 1.5 Process Management
- 1.6 File Permissions
- 1.7 Networking
- 1.8 Archives (Tar Files)
- 1.9 Search
- 1.10 File Transfers
- 1.11 Disk Usage
- 1.12 User Information and Management
- 1.13 Speedtest
- 1.14 Clear Cache
- 1.15 Disable Sleeping Processes (Suspending)
- 1.16 Remove Welcome Message