I can't turn on the lights on my keyboard

I can't turn on the lights on my keyboard. I was able to do it before with the xset led on command, but now it doesn't work.

The xset command does not work on Wayland.

My Keyboard has build in lighting controls, too... For example, fn+ins or fn+del... You may search your make and model to see if it does.

In the meantime, from your Zorin OS Login Screen, you can switch to Zorin on Xorg and there, xset command will work.

1 Like

In Wayland how can I do it?

On Wayland, you might have some luck using the files in /sys/class/leds/ - this is more tedious and will require figuring out your device input first.

Or using Brightness control (I would go this route):

sudo apt install brightnessctl

brightnessctl --device='*::kbd_backlight' set 1

And again, many keyboard makers have onboard controls.
Some examples I pulled off the web:

  • Logitech > ratbagd / piper
  • Corsair > ckb-next
  • SteelSeries > hid-steelseries
  • Razer > OpenRazer + polychromatic
2 Likes

Welcome to the forum :grin:,

Depending on your keyboard brand you may need to get software to interact with it's lights and light colours I have razer gear so I had to get open razer via the software manager

Otherwise the xset command mentioned above should help

Welcome to the Forum!

What Brand and Model is Your Keyboard?

my keyboard is viewsonic model Ku315

Do any of these combos do anything for keyboard lighting?

Fn + Scroll Lock

Fn + F12

Fn + Ins

Fn + Del

I already solved it, my keyboard turned on in scroll lock. I used brightnessctl to identify it. Then, to avoid always entering the command in the terminal, I made a script, assigned it to a key, and then to turn the keyboard lights on or off, I press the assigned key. It asks me to authenticate. I enter my password and the lights turn on.

1 Like

Perhaps you could add your user to videogroup to avoid authentication all the time. But I am not sure if that is recommended. Editing sudoers.d is also not the best.

In this link two workarounds are posted for wayland, not sure if they will work in Zorin:

https://www.reddit.com/r/linuxquestions/comments/ruhse5/i_cant_enable_scroll_lock_to_turn_keyboards_led/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.