[systemd-devel] diverting HandlePowerKey

Robin Becker robin at reportlab.com
Fri Aug 17 02:58:38 PDT 2012


On 16/08/2012 18:36, Lennart Poettering wrote:
..........
>
> Invoke the PowerOff() call on the org.freedesktop.login1.Manager
> interface of the /org/freedesktop/login1 object on the
> org.freedesktop.login1 service. Which is basically what "systemctl
> poweroff" does.
>
thanks for this.

I think my route to doing everything via openbox is a bit stymied as I cannot 
seem to get the lid switch to generate a keypress, even showkey says nothing 
going on.
-- 
Robin Becker


More information about the systemd-devel mailing list