You are not logged in.
I have been having an issue specifically with my brightness buttons on a Thinkpad T14 Gen5 where libinput is receiving the input, but the BrightnessUP and DOWN keys are not being noticed by Wev. For context, i am using niri wm and have already configured the bindings XF86MonBrightnessUp and Down. Here is my output for when i press these buttons while running sudo libinput debug-events:
---------------------------------------------------------------------------------------------------------------------------
-event4 KEYBOARD_KEY +0.000s KEY_BRIGHTNESSDOWN (224) pressed
event4 KEYBOARD_KEY +0.000s KEY_BRIGHTNESSDOWN (224) released
event4 KEYBOARD_KEY +1.033s KEY_BRIGHTNESSUP (225) pressed
event4 KEYBOARD_KEY +1.033s KEY_BRIGHTNESSUP (225) released
---------------------------------------------------------------------------------------------------------------------------
I would show output from wev too but it literally shows nothing, not even an error. It's somehow getting lost before the wayland compositor i think but i really don't know. My brightness keys are not the only 'media keys' that couldn't be recognised by wev, but they are the only ones i care about and i assume whatever fix would work universally on all of them.
Any help or links to posts i might have missed about this issue would be awesome.
[Solution]
I found that niri's default generated config has lines for your brightness buttons, however the package to control brightness (brightnessctl) wasnt installed by default. Wev didnt pick up the inputs because they are already bound in the niri config and are being 'hidden' because what they were meant to do didn't work and it kind of failed silently.
Last edited by hitcannon (Today 00:27:46)
Offline
It's somehow getting lost before the wayland compositor i think but i really don't know.
Most likely you've bound them to some shortcut action, ie. they're "lost" *to* the wayland compositor (your niri config)
Offline
Found the solution, will change the original post. Thank you seth you had no idea how much your comment helped
Last edited by hitcannon (Today 00:25:38)
Offline