← Back to team overview

lubuntu-desktop team mailing list archive

Binding actions to desktop power button

 

Hi, list.

When polishing Lubuntu installtion on a laptop, I've changed lubuntu-rc.xml
to link lubuntu-logout invocation to the power button keypress (<keybind
key="XF86PowerOff">). However, on an old yet ACPI-capable desktop system
this does not work, if I get it right, desktop's power button is not a
"button" rc.xml binds to but instead generates a different type of event
processed elsewhere.

Is there an easy way  to bind to ACPI "power button" event instead of
keyboard "power button" event?

Sincerely,
Mikhail Maksimov