sudo apt-get install fcitx
sudo apt-get install fcitx fcitx-pinyin 安装scim拼音
sudo im-switch -s fcitx -z default 设置默认
好了 重启或者注销 再次登录 开机
碰到的问题:
No system wide default defined just for locale en_US .
Use “all_ALL” quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/scim for xinput-all_ALL not registered, not setting.
解决方法:
sudo update-alternatives –install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/fcitx 30
sudo im-switch -s fcitx -z all_ALL
im-switch -s fcitx -z all_ALL
(http://liaobingyun.blog.163.com/blog/static/129812111201081610422641/)