Saturday, 7 March 2015

Configuration for not suspending your laptop when close lid

It bugs me when I close my lid in Lubuntu that the system suspends. I intended to keep the system running but only wanted to close the lid and display.

I can not find any configuration GUI for that.

The simplest workaround is to edit /etc/systemd/logind.conf 
 
set HandleLidSwitch=lock to lock the screen on lid close (but not suspend), or HandleLidSwitch=ignore to not even lock the screen.

The line is originally commented out. You will need to re-login the system to make it in effect.

No comments:

Post a Comment