Comment 12 for bug 77168

Revision history for this message
cablop (cablop) wrote :

I tried the options you said
GTK_IM_MODULE="scim" and QT_IM_MODULE="scim"
they does not seem to work under an spanish session.

The procedure I described mixed both problem and workaround solution. Let's me just place the way to reproduce the problem.

0.- Install Gutsy from scratch, either Ubuntu from DVD or Ubuntu Studio, both have the problem. You need a keyboard layout with deadkeys, then select spanish or french keyboard layout, also if you can deal with it, install spanish or french language support. Remember to follow all this steps not in a CJK session, use spanish, french or english (with deadkeys support).
1.- Add Ubuntu DVD as a repository source and then add the other repositories. Don't use gutsy-updates nor gutsy-security.
2.- Open language settings and install Chinese and Japanese support.
3.- Restart the System.
4.- Open language settings and activate complex characters input, then apply.*
5.- Restart the system.
6.- Open any gnome application, like Gedit. You cannot trigger SCIM with ctrl+space, but you can right click and select it to input text. With or without SCIM there's no deadkeys problem.
7.- Install any KDE application or another application like Opera. I installed Amarok, Konversation, Konqueror and Opera. SCIM does not work in any of them.
8.- Install scim-bridge-client-qt, it also installs scim-bridge-agent.
9.- Install scim-bridge and scim-bridge-client-gtk.
10.- Restart.
11.- sudo gedit /etc/X11/xinit/xinput.d/scim and changed GTK_IM_MODULE=xim to GTK_IM_MODULE="scim-bridge" and QT_IM_MODULE=xim to QT_IM_MODULE="scim-bridge".
12.- Restart.
13.- Then you can write chinese in gnome and kde apps, can also trigger SCIM with ctrl+space, but you only can enter accented characters using dead keys (like á or ü) in gnome apps, KDE broke the dead keys (like ´a or ¨u).

This is just the steps to reproduce the problem, go back to my last post, and follow the last steps to find a workaround solution.

* I unchecked this option, applied again. I enabled again this setting, applied and closed the window. Reopened the window and checked the option is active - I did it cause some guides say you to repeat the procedure twice cause just one time does not work.