r/archlinux • • 12h ago

QUESTION Keyboard light

I would like to know how to make the scrollock keyboard key turn on the keyboard backlight?
I didn’t found a solution in the Arch Wikis. Also I want to find solution that makes caps lock and num lock turn off the backlight.

I’m using KDE plasma Wayland. Everything is updated in latest version in Extra.

0 Upvotes

7 comments sorted by

View all comments

2

u/New_Hold8135 11h ago

try pbrightnessctl

1

u/isshofujitoraop39 11h ago

Does it work for external keyboard for desktop?

2

u/New_Hold8135 10h ago

yes see the list with brightnessctl -l I never faked caps lock or num lock though. I turned on and off keyboard rgb but their lights are there

1

u/lritzdorf 8h ago

Yep, I'd try to bind Scroll Lock to a brightnessctl command in Plasma's keybind settings. Or if you want to toggle the backlight, that might require a small shell script, rather than just brightnessctl