Example:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll"
EndSection
Here, XkbOptions allows you to toggle between keyboard layouts by simply pressing both Shifts. This will also toggle the Scroll Lock light on or off, thanks to the grp_led:scroll option. This is a handy visual indicator of which keyboard layout you are using at the moment.
0 comments:
Post a Comment