您的位置:首页 > 其它

ubuntu - 搜狗安装搜狗输入法(fcitx)亲测有用

2014-03-25 19:28 218 查看
/article/4251402.html

安装搜狗拼音输入法网上很多方法,总结了一下,下面的方法绝对可以,

第一步:

Ubuntu 默认是安装了ibus.所以删除它

sudo apt-get remove ibus

对于已经安装老版本的fcitx,删掉再装.

sudo apt-get remove fcitx*

删除依赖库

sudo apt-get autoremove

检测是否删除fcitx

dpkg --get-selections | grep fcitx

第二布:

添加fcitx的ppa:

sudo add-apt-repository ppa:fcitx-team/nightly

然后刷新软件源:

sudo apt-get update

第三步:

然后直接安装搜狗输入法

sudo apt-get install fcitx-sogoupinyin

第四步:

然后依次安装下列包(下17个应该是必须的)sudo apt-get install ****

fcitx

fcitx-bin

fcitx-config-common

fcitx-config-gtk

fcitx-data

fcitx-frontend-gtk2

fcitx-frontend-gtk3

fcitx-frontend-qt4

fcitx-googlepinyin

fcitx-libs

fcitx-module-dbus

fcitx-module-x11

fcitx-modules

fcitx-pinyin

fcitx-table

fcitx-table-wubi

fcitx-ui-classic

第五步:

然后设置为fcitx为默认输入法

im-switch -s fcitx -z default

sudo im-switch -s fcitx -z default

第六步:

注销或重启就生效

在右上角的输入法设置中

"输入法" ==> 搜狗拼音

或输入法的“配置”中设置

这个输入法的翻页不是安pagedown或pageup,而是加号键跟减号键(其实不加shift)

本文出自 “lilin9105” 博客,请务必保留此出处/article/4251402.html

因为我的是英文环境,(3)会出错,要参考下边进行设置(把scim换成fcitx)

sudo apt-get remove scim 移出输入法

sudo apt-get install scim 重新安装

sudo apt-get install scim scim-pinyin 安装scim拼音

sudo im-switch -s scim -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/scim 30

sudo im-switch -s scim -z all_ALL

im-switch -s scim -z all_ALL
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: