On Thu, Dec 20, 2012 at 12:47 AM, Lennart Poettering
<[email protected]> wrote:
> On Wed, 28.11.12 10:31, Paul Neumann ([email protected]) wrote:
>
>> Hi all,
>>
>> the new lock setting of HandleLidSwitch for logind in systemd 196 does
>> not work correctly for me. After setting the option and closing the lid
>> of my laptop, my session gets locked. However, as soon as I unlock the
>> session, it instantly gets locked again.
>>
>> The following messages appear in the journal:
>> systemd-logind[325]: Lid closed.
>> systemd-logind[325]: Locking sessions...
>>
>> Whereas the second message is repeated a couple of hundred times per
>> second.
>>
>> I am using the lockscreen of gnome-screensaver in case that matters and
>> I would appreciate if someone could have a look into this.
>
> GNOME watches the lid siwtch on its own anyway, so you have two clients
> watching the lid switch and handling on it?

I don't think it does anymore. gnome-settings-daemon does not grab the
"handle-lid-switch" inhibitor by default – only when there are
external displays connected (to completely prevent suspending).

--
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to