Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.2 OS: Linux When i select an additional keyboard layout (russian), KDE stucks in typing russian characters. No matter how i switch layouts - with a shortcut or using the icon in kicker it keeps typing russian letter. The icon reflects the change. I installed Red Hat 8.0 with KDE 3.0 and got this bug. Since then i compiled and installed X-System 4.3.0 and cvs version of KDE, but i can't get rid of it. I'm not using any internationalization (all programs are in english) but i need to type in russian from time to time. I'm sure this is a configuration problem or something, otherwise your bug system would be flooded with such reports. But can you suggest me anything? I really don't know what to do.
I experience the same problem with French layout. If I select "additional layouts" (and then activate both US and French maps) in KControlCenter, when I switch to French (globally), I cannot revert back to the default en_US map. The keyboard layout applet does show the intended layout, but the keyboard map is not modified. The only way I found to prevent this is to unselect multiple layouts and restart KDE (quite a drag since I usually switch layouts quite frequently...). My system is a Gentoo Linux, XFree 4.3.0, and KDE 3.1.1 from source. No i18n. I had the same problem with KDE 3.1. However, I don't recall any such thing with KDE 3.0 or earlier.
I think this could be a duplicate of bug #55866.
I've looked at 55066. setxkbmap does work for me, but you must agree it's not a perfect way to switch keyboard layouts. If it is really an X bug, can somebody who does understand what is going on yell at them? There seem to be no such reports yet in their bugzilla. Just if i go there and say "you know, i have problems with kb layouts in KDE, but they say it's your bug" i doubt they will do anything. Quite a while has passed since 4.3.0 was released but there are even no fixes on their ftp server.
Actually, comment 7 in bug #55866 mentions that a fix was checked in. I can't afford pulling KDE from CVS and recompiling right now, but if someone can tell which files were patched, I might give it a try. Else, I guess I'll settle for 'setxkbmap' until the next release...
The fix works. Thanks to Andriy Rysin. I'm closing the bug.
What fix? How do I apply that to my system? The Andriy Rysin message does not tell me specifically how to get my switcher working. What file needs editing? Please help.
I'm not sure what files it affected, but it must be somewhere in kdelibs/. You need to either update your KDE snapshot with CVS and recompile it or download KDE 3.1.2. Unfortunately, KDE takes ages to compile, but this bug is certainly worth it. And i recently discovered that GNU Emacs has really _perfect_ way of switching between keyboard layouts (input methods) :) Unfortunately, you cannot use that method in KDE :(