LinuxMint Mate 安装Google拼音输入法(Fcitx)

安装Google拼音输入法(Fcitx)
$ sudo apt-get install fcitx fcitx-config-gtk fcitx-frontend-all fcitx-ui-classic fcitx-googlepinyin

切换输入法
$ im-config -l
 fcitx xim
$ im-config -o fcitx && echo
Flexible Input Method Framework (fcitx)
 * Required for all: fcitx
 * Language specific input conversion support:
   * Simplified Chinese: fcitx-pinyin or fcitx-sunpinyin or fcitx-googlepinyin
   * Generic keyboard translation table: fcitx-table* packages
 * Application platform support:
   * GNOME/GTK+: fcitx-frontend-gtk2 and fcitx-frontend-gtk3 (both)
   * KDE/Qt4: fcitx-frontend-qt4
$ im-config -n fcitx

注销mate(Gnome)桌面

$ gnome-session-quit --logout --no-prompt

重新登录按Ctrl+Space切换。

---

$ dpkg --get-selections | grep fcitx
fcitx                        install
fcitx-bin                    install
fcitx-config-common                install
fcitx-config-gtk                install
fcitx-data                    install
fcitx-frontend-all                install
fcitx-googlepinyin:amd64            install
fcitx-module-x11                install
fcitx-modules                    install
fcitx-ui-classic                install
fcitx-ui-qimpanel                deinstall
gir1.2-fcitx-1.0                install
libfcitx-config4:amd64                install
libfcitx-core0:amd64                install
libfcitx-gclient0:amd64                install
libfcitx-utils0:amd64                install

原文地址:https://www.cnblogs.com/Bob-wei/p/7135867.html