Project

General

Profile

Feature #450

Disabling the Suspend on Lid Close Feature on Arch Linux

Added by Daniel Curtis over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/03/2014
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

I recently setup a laptop with Arch Linux, and found the desire to be able to close the lid of the laptop without suspending the laptop.

  • Edit /etc/systemd/logind.conf and make sure you have
    HandleLidSwitch=ignore
    

Which will make it ignore the lid being closed.

  • To immediately apply these changes without needing to log out and and log back in, open a terminal and run:
    
    h2. Resources
    
    * https://unix.stackexchange.com/questions/52643/how-to-disable-auto-suspend-when-i-close-laptop-lid
    systemctl restart systemd-logind
    

Also available in: Atom PDF