Laptop Close Lid Behavior

From Amahi Wiki
Revision as of 16:30, 30 September 2015 by Bigfoot65 (talk | contribs) (Created page with "To change the way Fedora behaves when closing the lid on laptop, perform the following steps as '''root''' user: * Edit ''/etc/systemd/logind.conf'' * Find test ''#HandleLidSw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To change the way Fedora behaves when closing the lid on laptop, perform the following steps as root user:

  • Edit /etc/systemd/logind.conf
  • Find test #HandleLidSwitch=suspend
  • Change suspend to ignore and remove the #
  • Save file with changes
  • Restart the login service:
systemctl restart systemd-logind.service


Ref: How do I make my system suspend when I close the laptop lid