Do not grab power button input in order to allow power manager to capture it
@hussamT
Submitted by Hussam Al-Tayeb Assigned to Ali Abdallah @ali
Description
The configured power button action (hibenrate in my case) does not function when session is locked. I have set xfce to hibernate on power button. This works beautifully when the session is not locked (Thank you for supporting logind/systemd). However, nothing happens when the session is locked by xfce4-screensaver and I press the power button. Some notes:
- jorunalctl says logind registered the power button press but nothing happened afterwards.
- If I type "sleep 60 && systemctl hibernate" and then immediately lock the session, the machine hibernates a minute later.
I'm not currently at my Linux desktop but I will be there tomorrow if you need me to gather more information. Thank you.
Version: 0.1.8