1、更新软件源和已安装软件
sudo apt-get update
sudo apt-get upgrade
2、安装fcitx依赖包
sudo apt-get install fcitx fcitx-table fcitx-ui-classic fcitx-frontend-all fcitx-config-common fcitx-config-gtk fcitx-config-gtk2 fcitx-tools fcitx-module-dbus fcitx-libs-qt libopencc1
3、安装google pinyin输入法
sudo apt-get install fcitx-module-cloudpinyin fcitx-googlepinyin
4、配置im-config为fcitx,并重启。
5、若Input Method中无Google Pinyin,点击config,添加Google Pinyin后即可。
参考链接:
http://blog.csdn.net/j_sure/article/details/38240307