Hi,
I don't know if this is a bug or just a design feature but xxkb in kde 3.5.8 (as part of the fedora core 8 distro) does not work as I would expect.
What I want is pretty basic: to set up two layouts (us and ru) and to be able to switch between these with either clicking on the country flag indicator or using a keyboard shortcut. The flag image should reflect the changes. I don't want much, do I?
Well, it turnes out that if I add two (us and ru) layouts on the ControlCenter->Regional&Accessability->KeyboardLayout->Layout tab, check the switches "Show country flag" and choose a shortcut key (e.g. Ctrl-Shift) in the "Xkb Options" tab, the flag appears, I can change layouts with my mouse (clicking on the flag) but NOT with the shortcut. The shortcut simply does not have any effect.
Looking at the "setxkbmap" command lines in the Layout tab possibly explains the reason: For a given layout, the command looks like e.g. "setxkbmap -model pc104 -layout ru". I understand that this command is issued when I click the flag and change the layout to "ru". Once the command is issued I cannot change to another layout as it simply does not exist. Every time I click the flag, a new command introducing a SINGLE layout is issued.
I do a lot of work in two languages and having to use my mouse to switch the layout every time is VERY annoying.
OK, now I do the same but this time check the "Include latin layout" checkbox in the Layout tab. The command becomes
"setxkbmap -model pc104 -layout ru,us"
and finally, the keyboard shortcut works as long as the flag shows "ru". But the flag image always stays "ru", whichever actual layout is in use. Very inconvenient, to say the less. Especially if I choose to change layouts of windows independently. E.g. I have 4 windows and no indication of which layout is in which window.
Apart from that, the order "ru,us" is very inconvenient. It means that any newly opened app has the "ru" layout at start. I do most of my work in xterm issuing commands etc, that is my default layout should be us. Unfortunately, the above line is not editable.
Is it possible to resolve this issue without using independent programs like xxkb etc? Any help would be greatly appreciated.
Igor
This post has been edited 1 times, last edit by "igor123" (Jan 12th 2008, 5:25pm)