[systemd-devel] HandleLidSwitch v204

Lennart Poettering lennart at poettering.net
Wed Jun 11 01:20:56 PDT 2014


On Mon, 09.06.14 23:09, Justin Brown (justin.brown at fandingo.org) wrote:

> I need to run Fedora 19 (systemd 204) for a particular piece of
> software on a laptop, and I'm having trouble disabling suspend when I
> shut the screen. My default target is multi-user.target, and the
> laptop is not connected to any external monitors. I made the following
> change to /etc/systemd/logind.conf and rebooted:
> 
> HandleLidSwitch=ignore
> 
> However, the systemd is still suspending. What else do I need to
> change to disable this behavior?

Are you sure it's logind that issues the suspend? Do you see any logs
from logind when you try to suspend? it should normally log if it is
responsible for the suspend. Try "journalctl -u systemd-logind".

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list