scim for firefox 无须设置LC_CTYPE="zh_CN.UTF-8"

mg@mg ~ $ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
...
LC_ALL=en_US.UTF-8


修改 etc\gtk-2.0\gtk.immodules 文件将中间的
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" ""

加上 en:ko:ja:th:zh 就可
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "en:ko:ja:th:zh"


我的 .xinitrc
# SCIM
LANG='zh_CN' scim -d
export XMODIFIERS=@im=SCIM
#export XIM_PROGRAM=scim
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim


2010-12-07:
.xinitrc 里面必须加在 gnome-sessions 之前

你可能感兴趣的:(java,qt,firefox)