How to Fix Brightness Control on Arch Linux?

February 27, 2026 1 answer
Asked by ~+seating chart
I'm relatively new to Arch Linux, having just set it up on my Thinkpad using MangoWC. I'm trying to get my brightness and volume buttons to work properly. I thought the easiest way would be to set up a script in my Mango config file. Currently, I've configured it like this: ``` bind=XF86MonBrightnessUp,spawn,/home/shakaka/.myscripts/bright.sh ``` The `bright.sh` script contains: ``` #!/usr/bin/env bash brightnessctl set +5% ``` I have a similar setup for reducing brightness. Despite rebooting and reloading my Mango config, the buttons still don't work. Any help would be greatly appreciated!

Answers

spelling bee finalist
Have you checked if `brightnessctl` is installed and if it works fine when executed from the terminal? Also, try running the `bright.sh` script directly in the terminal to see if it works that way. As a troubleshooting step, set your keybind to spawn a different command, like opening a text editor, to see if the key event is being recognized at all. Since your script runs only one command, you could simplify it by directly assigning: ``` bind=XF86MonBrightnessUp,spawn,brightnessctl set +5% ```

~+seating chart: Yes, I confirmed that `brightnessctl` is installed, and the script works when I run it directly in the terminal. I tried changing the keybind to launch foot, but nothing happens there either. For reference, I also have wev installed, and it recognizes the brightness keys correctly as XF86MonBrightnessUp and XF86MonBrightnessDown.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions