Skip to content

Power manager grabs brightness keys after changing settings to not handle brightness

Submitted by Tom Crossley

Assigned to Ali Abdallah @ali

Link to original bug (#14226)

Description

Bug:

Having disabled the "handle brightness keys" setting in power manager settings, I added shortcuts to handle brightness keys using the "light" package from AUR:

light -A 5 | XF86MonBrightnessUp light -U 5 | XF86MonBrightnessDown

Running the command

xfce4-power-manager --no-daemon --debug

shows that the power manager does not register that it has grabbed the keys, yet they do not reach the shortcuts manager and do not run my custom shortcuts to change brightness.

Workaround:

if power manager is quit then restarted using

xfce4-power-manager -q

then running the desktop app, then the brightness keys are no longer grabbed.

If any changes are made to my power manager menu settings, they cause the power manager to start grabbing the keys again until I quit and restart as above.

Happy to provide any logs or debug outputs on request.

Version: 1.4.x