Controlling LED indicators in xkb
Hi, I'm trying to change many of the keyboard layouts xkb supports to match the default windows keyboard layouts to make the move from windows to linux easier on international users. If possible, I want to only change files in the xkb/symbols directory. The problem I'm running into is that there doesn't seem to be a good way to define specific behavior for the Caps Lock key for some of the non-latin languages that don't use Caps Lock to actually capitalize anything (like .Hebrew).
I have gotten around this problem by setting Caps Lock as a group toggle button so it basically just switches to another keyboard layout altogether. This works fine but I can't figure out how to get the Caps Lock LED to light up when this group switch is made because xkb doesn't see the "CAPS" modifier as being turned on.
So my question is: Does anyone know how to set the CAPS LED as a toggle indicator in the symbols files (sadly, doing it at the command line is not an option I don't think). If not, does anyone know a better way to define unique caps lock behaviors in the Symbols files?
Thanks in advance.
|