Fedora 18 laptop regression

Lennart Poettering mzerqung at 0pointer.de
Sat Jan 5 22:38:46 UTC 2013


On Sat, 05.01.13 09:14, alex399 at hushmail.com (alex399 at hushmail.com) wrote:

> Closing the laptop lid now suspends, without a visible option to disable it.
> You can edit /etc/systemd/logind.conf and your laptop won't suspend after closing the lid, but the screen _won't_ lock either!!!
> 
> So, either you have to suspend or your screen doesn't lock. Any way to fix this? logind.conf needs a "lockscreen" option, or a "don't-ignore-but-pass-to-desktop-to-handle" option...

Normally your DE will take a lock that disables handling of the lid
switch as long as the DE is up.

If your DE doesn't handle the lid switch then logind can handle it for
you and it will by default. If your DE handles the lid switch but
doesn't take the lock, then it's a good idea to fix the DE. A workaround
is to invoke it via "systemd-inhibit --what=handle-lid-switch".

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list