Project

General

Profile

Feature #450

Updated by Daniel Curtis over 9 years ago

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 
 <pre> 
 > HandleLidSwitch=ignore 
 </pre> 

 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: 
 <pre> 

 h2. Resources 

 * https://unix.stackexchange.com/questions/52643/how-to-disable-auto-suspend-when-i-close-laptop-lid 
 systemctl restart systemd-logind 
 </pre>

Back