Difference between revisions of "Laptop Close Lid Behavior"

From Amahi Wiki
Jump to: navigation, search
(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...")
 
Line 8: Line 8:
  
  
Ref:  [https://ask.fedoraproject.org/en/question/39961/how-do-i-make-my-system-suspend-when-i-close-the-laptop-lid/ How do I make my system suspend when I close the laptop lid]
+
Ref:   
 +
* [https://ask.fedoraproject.org/en/question/39961/how-do-i-make-my-system-suspend-when-i-close-the-laptop-lid/ How do I make my system suspend when I close the laptop lid]
 +
 
 +
* [https://nottooamused.wordpress.com/2012/12/29/fedora-17-and-18-how-to-disable-auto-suspend-when-laptop-lid-is-closed/ Fedora 17 and 18 how to disable auto suspend when laptop lid is closed]

Revision as of 16:55, 30 September 2015

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: