How do I turn off sleep mode in Linux?

Ngô Quốc Huy

New member
How do I turn off sleep mode in Linux?
Answer
Configure lid power settings:
  1. Open the /etc/systemd/logind. …
  2. Find the line #HandleLidSwitch=suspend.
  3. Remove the # character at the beginning of the line.
  4. Change the line to either of the desired settings below: …
  5. Save the file and restart the service to apply the changes by typing # systemctl restart systemd-logind.
 

Tìm kiếm

Back
Top