早就应该参考
https://wiki.debian.org/gnome-chinese-input#using_ibus
以安装fcitx为例子(ibus容易装,但用起来不爽,全拼用的有点像双拼一样,其实是本人暂时不知道如何设置。。。)
1. dpkg-reconfigure locales 选择zh_CN.UTF8
2. 安装fcitx
apt-get install fcitx fcitx-googlepinyin
3. im-config 设置fcitx
4. 按下 super键, 打fcitx, 然后进入fcitx configuration 看看是否存在google pinyin, 没有的话按加号,然后直接敲google pinyin ,找到google pinyin 后选择它并添加(找不到的话注意不要勾选only show current language)。
5.重启或者 登出账户后重新登入
6. gnome下千万记得要在命令行打多一行代码,用来去除 其他所有的输入源以及所有其他输入法的热键
Use in GNOME
To make fcitx work inside GNOME environment you will need to remove all the input sources from gnome-control-center, clear all the hotkeys for input methods and issue the following command to disable iBus integration:
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
debug:如果能打字,但没有显示出打字的面板(panel),apt-get install fcitx-table-all,再重复步骤5