By default these commands do not work at all: xset led 1 xset -led 1 xset led 2 xset -led 2 xset led named "Caps Lock" xset -led named "Caps Lock" xset led named "Num Lock" xset -led named "Num Lock" If you edit 2 files: /usr/share/X11/xkb/compat/ledcaps /usr/share/X11/xkb/compat/lednum and replace: !allowExplicit; with: allowExplicit; you can turn Caps- and NumLock leds on and off. But only if the CapsLock and/or NumLock are not active. If they are, the keyboard led is ALWAYS ON. You cannot turn it off using xset.
Could XChangeKeyboardControl() and XkbSetNamedIndicator() provide a way to set a LED to one of three states: Off (-1), None (0) and On (1)? None would allow LED to show the actual state of the modifier, while Off and On would force the LED's state no matter what the modifier's status is. Also all LEDs should be unlocked for programs by default, so that they can change their state, not only the Scroll Lock LED.
reassigning to xk-c for the allowExplicit change, but doubt this will happen.
Daniel, I do not see the point to change the allowExplicit parameter if that function does not work in X server in any case. Will it work in Wayland?
No, definitely no plan to support it in Wayland.
Ok. So I guess, since the core function is broken in X, changing from one non-working config to another non-working config - does not make much sense.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.