Disable Laptop Lid Switch Action - CentOS 7

From Michael's Information Zone
Revision as of 16:37, 10 August 2016 by Michael.mast (talk | contribs) (Created page with "https://www.centos.org/forums/viewtopic.php?t=58498 [michael.mast@archive2 ~]$ sed -i 's/^#HandleLidSwitch=suspend/HandleLidSwitch=ignore/' /etc/systemd/logind.conf [michae...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://www.centos.org/forums/viewtopic.php?t=58498

[michael.mast@archive2 ~]$ sed -i 's/^#HandleLidSwitch=suspend/HandleLidSwitch=ignore/' /etc/systemd/logind.conf
[michael.mast@archive2 ~]$ systemctl restart systemd-logind