grp_led:num - for Numlock, grp_led:scroll for ScrollLock and grp_led:caps for CapsLock. It now works for me. But it's not good that I now can't change keyboard LED behavior from gnome-control-center.
Another problem (maybe related to this one) is when I press NumLock key on my laptop, the LED doesn't turn on (but the numpad changes its behavior).
Workaround:
-------------------
The problem can be solved by manually editing x.org.conf :
Section "InputDevice" toggle, grp_led: num,lv3: ralt_switch"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl,ua(unicode)"
Option "XkbOptions" "grp:lwin_
EndSection
grp_led:num - for Numlock, grp_led:scroll for ScrollLock and grp_led:caps for CapsLock. It now works for me. But it's not good that I now can't change keyboard LED behavior from gnome-control- center.
Another problem (maybe related to this one) is when I press NumLock key on my laptop, the LED doesn't turn on (but the numpad changes its behavior).