Ubuntu 下安装Google拼音输入法

来源:互联网 发布:网络女歌手名字大全 编辑:程序博客网 时间:2024/04/30 20:00

在 Ubuntu 10.04下安装Google拼音输入法,如下:

虽然ibus-pinyin,稳定!但是SCIM-GooglePInyin使用起来比较舒适流畅!
下面就来说明SCIM-GooglePInyin的安装方法:

1. 获取代码:
若没有安装git就先安装git:sudo apt-get install git-core

zyx@zyx-desktop:/$ sudo git clone git://github.com/tchaikov/scim-googlepinyin.git

zyx@zyx-desktop:/$ cd scim-googlepinyin

2. 编译前提:

上面给的链接里面有介绍怎么编译的,但少提了几个必需组件,这里列一下:

* autotools-dev

* libgtk2.0-dev

* libscim-dev

* libtool

* automake

用下面命令看看是不是安装了,如果没有,会自动帮你安装上:

zyx@zyx-desktop:/$ aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automake

3. 编译:

sudo apt-get install scim(使用apt-fast更快) (已经安装可以跳过)

zyx@zyx-desktop:/$ sudo ./autogen.sh

zyx@zyx-desktop:/$ sudo make

zyx@zyx-desktop:/$ sudo make install

现在重启scim:

关闭scim:pkill scim

然后启动: scim -d


System-Administration-Language Support-Keyboard input method system,选择scim为默认,然后turn off ibus(在面板中关闭),然后注销,若不起作用就重启一下就可以了。

注销后按ctrl+space可以切换到scim,然后点击scim中的输入法名字,然后选择GooglePInyin就可以了!

 

使用效果如下图: