Comment 44 for bug 243344

Revision history for this message
Bomber Cheng (tomcheng76) wrote :

This is my workaround to solve the scim crash (use scim-immodule as the xinput). Not sure is it help to solve this bug.

First, install scim-immodule as alternative, replace zh_TW with your locale, if you use english, it can be all_ALL
sudo update-alternatives --install /etc/X11/xinit/xinput.d/zh_TW xinput-zh_TW /etc/X11/xinit/xinput.d/scim-immodule 10

then config it
sudo update-alternatives --config xinput-zh_TW
or
sudo im-switch -s scim-immodule

then create a file /etc/profile.d/scim.sh with -rw-r--r-- root root permission
add this three line
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

Lastly, i can see inside /etc/X11/xinit/xinput.d/scim, the module is xim instead of scim. I am not sure is this make the problem.

Hope someone find this useful, at least user level.