Comment 4 for bug 153915

Revision history for this message
CheolHan Yoon (mait) wrote :

Same problem here. When Korean users select default language to korean in language-selector, input method environments were set like this.

Quote in `im-switch -l`

The system wide default is pointed by "/etc/alternatives/xinput-ko_KR" .
xinput-ko_KR - status is auto.
 link currently points to scim
scim - priority 50
scim-immodule - priority 0
scim-hangul - priority 45
scim-hangul_xim - priority 40
nabi - priority 50
Current `best' version is scim.

$ cat /etc/alternatives/xinput-ko_KR
#
# Use "X input Method" for all applications
#
# Per Ming's Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT appplication.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select "Input Methods" and change from "X input Method" to
# "SCIM Input Method".
#

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
DEPENDS="scim,scim-anthy|scim-canna|scim-chewing|scim-pinyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"

As we can see, default input module for gtk(nautilus) is xim. And current problem occur only when using xim input module.

workaround,
1. change input module in input field(right click) to scim
2. change input module through im-switch permanantly. For Korean, choose 'scim-hangul' instead of 'scim'(default)
$ im-switch -s scim-hangul

I confirmed this bug when using xim input module for GTK_IM_MOUDLE.