Linux安装中文输入法-Google拼音输入法,搜狗输入法

Linux安装中文输入法-Google拼音输入法,搜狗输入法

编程文章jaq1232025-02-25 11:34:3619A+A-

主要步骤,选择适合自己的尝试:

1) 卸载之前没装好的搜狗输入法。

@:~/Downloads$ sudo apt-get remove fcitx*

删除依赖库

@:~/Downloads$ sudo apt-get autoremove

检测是否删除fcitx

@:~/Downloads$ dpkg --get-selections | grep fcitx

2) Ubuntu 默认是安装了ibus,这里先卸载它。

@:~/Downloads$ sudo apt-get remove ibus

3) 添加fcitx的nightlyPPA。有两种方式:

方法一: 在源中添加nightly源。

@:~/Downloads$ sudo gedit /etc/apt/sources.list

加入以下两行:

deb http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main

deb-src http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main

然后:

@:~/Downloads$ sudo apt-get update

方法二: PPA,在终端输入:

@:~/Downloads$ sudo add-apt-repository ppa:fcitx-team/nightly

@:~/Downloads$ sudo apt-get update

4) 安装fcitx,Google输入法,云输入法

@:~/Downloads$ sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyin

@:~/Downloads$ sudo apt-get install fcitx-table-all

5) 设置fcitx为默认输入法

@:~/Downloads$ im-switch -s fcitx -z default

@:~/Downloads$ sudo im-switch -s fcitx -z default

6) 注销,看到右上角输入法出来了。Ctrl+空格键可以切换,和windows下风格似乎差不多,enjoy it!

点击这里复制本文地址 以上内容由jaq123整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

苍茫编程网 © All Rights Reserved.  蜀ICP备2024111239号-21