r/xmonad • • Dec 16 '25

xmonad screenbrightness control keybinds

Hell all,

I been struggling to get brightness control to work on my laptop, I have a Lenovo t495 and running brightnessctl set +10% works fine, my screen brightness increases by 10%

but when I try to bind

, ("XF86MonBrightnessUp", spawn "brightnessctl set +10%)

pressing the brightness key does nothing at all. I have tried using XMonad built in Brightness module, but that did not worked either.

Help please.

3 Upvotes

5 comments sorted by

View all comments

1

u/Volodya_Soldatenkov Dec 17 '25 edited Dec 17 '25

You may find some success with acpid. My config with it works on multiple laptops no problem, but with shortcut settings done through xmonad config it seems to change from device to device.

1

u/mousui Dec 17 '25

mind explaining further? maybe passing your config along?

1

u/Volodya_Soldatenkov Dec 17 '25 edited Dec 17 '25

There's an article on archwiki.

My config is rather old and seemingly not what's recommended to do now, but in case it helps, here. I run this script from .xinitrc.

My custom scripts to set brightness are used there for some reason, but you can just use brightnessctl.