[systemd-devel] [RFC] logind lid switch inhibitors

Lennart Poettering lennart at poettering.net
Wed Sep 19 00:09:57 PDT 2012

On Tue, 18.09.12 19:28, David Herrmann (dh.herrmann at googlemail.com) wrote:


> > - logind from now on handles lid switch/suspend key/power key in all
> >   cases, even if a graphical DE is running. In fact, any special handling
> >   of graphical DEs in logind is removed entirely.
> I don't use any DEs but often close the lid while some background job
> is running (compiler or whatever). Does that mean systemd would
> suspend the machine in this case? I don't think I can convince the GCC
> people to use systemd inhibitors (or do they already provide that?).
> I would actually like to see an option (probably
> /etc/systemd/logind.conf) that disables this automatic
> power-management.

Sure, there already has been the logind.conf option to disable logind's
handling of the keys, and that option will continue to exist.


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list