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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
To change the way Fedora behaves when closing the lid on laptop, perform the following steps as '''root''' user:
 
To change the way Fedora behaves when closing the lid on laptop, perform the following steps as '''root''' user:
* Edit ''/etc/systemd/logind.conf''
+
* Edit ''/etc/systemd/logind.conf'' file:
* Find test ''#HandleLidSwitch=suspend''
+
* Find text ''#HandleLidSwitch=suspend''
 
* Change ''suspend'' to ''ignore'' and remove the ''#''
 
* Change ''suspend'' to ''ignore'' and remove the ''#''
 
* Save file with changes
 
* Save file with changes
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]

Latest revision as of 16:56, 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 file:
  • Find text #HandleLidSwitch=suspend
  • Change suspend to ignore and remove the #
  • Save file with changes
  • Restart the login service:
systemctl restart systemd-logind.service


Ref: