Difference between revisions of "Laptop Close Lid Behavior"

From Amahi Wiki
Jump to: navigation, search
 
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

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: