On 06/01/2013, at 9:08, Lennart Poettering <mzerqung@xxxxxxxxxxx> wrote: > On Sat, 05.01.13 09:14, alex399@xxxxxxxxxxxx (alex399@xxxxxxxxxxxx) 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. > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/devel This doesn't work. https://bugzilla.redhat.com/show_bug.cgi?id=876782 Even to this inhibiting lid actions on my laptop does not prevent logind taking over, so you get "double sleeps". -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel