You are not logged in.

#1 2024-10-28 18:26:10

bby256
Member
Registered: 2024-10-28
Posts: 3

Enable scroll lock for keyboard backlight

Hey there folks. I have an cheap keyboard with RGB backlight but the backlight only turns on when scroll lock is enabled. But i cant enable scroll lock.

I have tried this command : "sudo sh -c 'echo 1 > /sys/class/leds/input3::scrolllock/brightness'" but it only enables the backlight for a fraction of a second then turns it back off.

Offline

#2 2024-10-28 20:24:09

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: Enable scroll lock for keyboard backlight

I have an cheap keyboard with RGB backlight

It might help to actually identify the keyboard, try "lsusb"

the backlight only turns on when scroll lock is enabled

What do you base this assertion on?
The led brightness isn't the same as the lock state (and it would be kinda weird to require the scroll lock to be active and I also assume the keyboard has that key? So why don't you use it?)

Online

#3 2024-10-29 14:53:13

bby256
Member
Registered: 2024-10-28
Posts: 3

Re: Enable scroll lock for keyboard backlight

seth wrote:

The led brightness isn't the same as the lock state (and it would be kinda weird to require the scroll lock to be active and I also assume the keyboard has that key? So why don't you use it?)

My keyboard does not have an seperate backlight key, when i press the scroll lock key the backlight turns on.

Offline

#4 2024-10-29 15:05:16

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: Enable scroll lock for keyboard backlight

So the HW toggle works, you're just trying to do this from the OS (eg. daytime driven etc)?

seth wrote:

It might help to actually identify the keyboard, try "lsusb"

Online

#5 2024-11-01 19:30:34

bby256
Member
Registered: 2024-10-28
Posts: 3

Re: Enable scroll lock for keyboard backlight

seth wrote:

So the HW toggle works, you're just trying to do this from the OS (eg. daytime driven etc)?

I meant my keyboard light only turns on when i enable scroll lock, its just that in arch i cant enable scroll lock on a DE like hyprland. I can enable it in TTY but not in the DE.

Offline

#6 2024-11-01 21:38:00

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: Enable scroll lock for keyboard backlight

Sanity check: does it work in a DE like not hyprland?
Eg. sway, weston or openbox (any X11 WM)?

x-ref, https://bbs.archlinux.org/viewtopic.php?id=299849

Online

Board footer

Powered by FluxBB