If your locale is not set to zh-CN but is set to en-US, the input method still cannot be used after scim or fcitx is correctly installed. The solution is as follows: edit/etc/gtk-2.0/gtk. immodules file (sudogedit/etc/gtk-2.0/gtk. immodules), In the xim local add en, that is, put "/usr/lib/gtk-2.0/2.4.0/immodu
If your locale is not set to zh-CN but is set to en-US, the input method still cannot be used after scim or fcitx is correctly installed. The solution is as follows:
Edit the/etc/gtk-2.0/gtk. immodules file (sudo gedit/etc/gtk-2.0/gtk. immodules), add en in the xim local, that is
/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"Xim" "X Input Method" "gtk20" "/usr/share/locale" "ko: ja: th: zh"
Change
/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"Xim" "X Input Method" "gtk20" "/usr/share/locale" "en: ko: ja: th: zh"
Save and exit. After restarting the system, you can use the input method normally.
Sudo apt-get update
Sudo apt-get install scim-chinese scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh im-switch
Sudo im-switch-s scim