You are not logged in.

#1 2016-02-08 17:51:37

rbaj
Member
Registered: 2016-01-27
Posts: 36

Xbindkeys conflict: can't grab all defined keys (screen brightness)

Hi,

I'm using Xbindkeys with xbacklight to set my screen brightness. Both the brightness up (XF86MonBrightnessUp) and down (XF86MonBrightnessDown) keys work with the following config file:

~/.xbindkeysrc

...
"xbacklight -inc 10"
    XF86MonBrightnessUp
"xbacklight -dec 10"
    XF86MonBrightnessDown
"xbacklight -set 50"
    XF86LaunchA
...

But if I set the increment to 5 instead of 10, only XF86MonBrightnessDown works (the third key to set brightness to 50% always works). Regardless of the increment and effect on screen brightness each key produces a corresponding log message:

ACPI group/action undefined: video/brightnessup / BRTUP (for brightness up)
ACPI group/action undefined: video/brightnessdown / BRTDN (for brightness down)

The wiki suggests '$ xbindkeys -n' to see error messages:

$ xbindkeys -n

*** Warning ***
Please verify that there is not another program running
which captures one of the keys captured by xbindkeys.
It seems that there is a conflict, and xbindkeys can't
grab all the keys defined in its configuration file.

As far as I know I've not set any other programs to capture the brightness up key. What might be causing the conflict? How can I find out? And why would this only affect one of the two brightness keys? Setting the increment to 10 is ok, I'm just interested.

EDIT: The lowest value that works is $  xbacklight -inc 7

Thanks

Last edited by rbaj (2016-02-08 18:01:56)

Offline

Board footer

Powered by FluxBB