I had the same problem with keyboard layout switching in FreeMind (java app) on Debian GNU/Linux 6.0.5 (squeeze). I also use scim for Japanese.
I've solved my problem in the next way: $ sudo gedit /etc/scim/global /SupportedUnicodeLocales = en_US.UTF-8 ----------> /SupportedUnicodeLocales = en_US.UTF-8,ru_RU.UTF-8 Reboot. After that I can switch Ru and En layouts as usual. (Also it has somehow solved the problem with Japanese typing in FreeMind.) I hope it may be useful for someone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/238859 Title: Can't switch keyboard layout using java applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/238859/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs