Comment 4 for bug 66104

Revision history for this message
Ming Hua (minghua) wrote : Re: [Bug 66104] scim input freezes in various applications

On Mon, Oct 16, 2006 at 03:21:07AM -0000, Wenzhuo Zhang wrote:
>
> wenzhuo@thinkpad:~$ dpkg -l scim-bridge
> No packages found matching scim-bridge.
> wenzhuo@thinkpad:~$ echo $GTK_IM_MODULE
> xim
>
> wenzhuo@thinkpad:~$ grep "X11/Dynamic" /etc/scim/config
> /FrontEnd/X11/Dynamic = false
> wenzhuo@thinkpad:~$ grep "X11/Dynamic" ~/.scim/config
> /FrontEnd/X11/Dynamic = false

Good, good. Exactly the situation I know the workaround for. :-)

What you really need to do is only change the /FrontEnd/X11/Dynamic
option in your ~/.scim/config to true. However it's a little tricky as
scim always rewrite its configuration files on exit. So I give the
following complicated procedure for the workaround:

1. Set scim not to start automatically: run "im-switch -s none". Log
out and re-login.

2. Edit your ~/.scim/config configuration file, change the
/FrontEnd/X11/Dynamic option to true.

3. Reset scim to start automatically: run "im-switch -s scim-pinyin".
Log out and re-login.

Now there shouldn't be keyboard input lock-up anymore. However this
breaks deadkeys used in a lot of European keyboard layout. Although if
you only need to input Chinese and English, deadkeys should not be a
concern to you.

Please report back whether this workaround works for you or not.
Thanks.

Ming
2006.10.17