I tried to use kxkb to switch between layouts, but it doesn't react on key combination the way it should. No matter what settings I try in the "XKB parameters" section, the only combination that switches layouts is Left Control-Left Shift.
I tried 2 settings in /etc/X11/xorg.conf (with similar results):
with 1 layout:
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
and with 2 layouts:
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,numpad:microsoft"
and also tried setxkbmap .
The settings of kxkb were similar to the second variant of xorg.conf: standard 101-key keyboard, layouts: US English and Russian (winkeys), numpad+shift as in Windows, show flag, use XKB.
The output of kxkb --version :
Qt: 3.3.6
KDE: 3.5.5
KDE Keyboard Tool: 1.0
System: Linux AMD64 (Gentoo), kernel 2.6.18-gentoo-r6
Is there any way to switch layouts with Alt-Shift AND see the flag indicator?