Hello all, i have just switched to Fedora after years of Debian
I am interested about a solution about a command who can turn on keyboard led using wayland (fedora 39) ; as i can see, using X11 i can use command xset led 3 , but clearly does not work with Wayland
Hi, thanks for your answer ; i have forgot to say i tried but nothing happened; so i was looking for a feedback as seems a common issue. Once i’ll find a solution i’ll share here
Hello, small update i would share
Looking in /sys/class/leds i noticed that in my case , keyboard led i need is input3
input3::capslock input3::numlock input3::scrolllock
Finally, with this command i am able to turn on the keyboard light (works with Wayland and also if i use X11 ) echo 1 > /sys/class/leds/input3::scrolllock/brightness (echo 0 if you want turn off)
BUT
i noticed that works only if i execute it being root, if i run with my user and sudo i got a “no such file or directory” (strange cause path looks correct)
Once i click caps lock or block num , keyboard led ( i mean all lights except caps lock and block num ) turn off , regardless status of capslock and block num.
also would be nice to know if is possible to associate the command with scrollock button, so i could use it to turn on/off like i am doing with windows
for now i will continue to use X11 and xset led 3 command ( with an .sh in autostart )
I’m also using Fedora 39. I have seen every new session led’s number can change, in example sometimes is ‘input3’, other cases is ‘input4’. I’ve seen once keyboard leds appeared as ‘input12’.
I’ve made a very basic service capable to start after boot. It enables a Bash routine that seeks and forces the LED’s to turn on every 0.2 seconds thus it was discussed in this thread.
My repository and use instructions:
By the moment it doesn’t includes led’s shutdown options.