ubuntu10.04下安装google拼音输入法 转自:http://darkranger.javaeye.com/blog/760631,http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=295299&vie
来源:互联网 发布:南京市牛羊肉销售数据 编辑:程序博客网 时间:2024/05/16 11:21
转自:http://darkranger.javaeye.com/blog/760631
step 1:设置root帐号密码
输入命令:
sudo passwd root
根据提示输入root帐号密码。
step 2:保证以root帐号权限进行后续操作
如果不是用root帐号登录系统
输入命令:
su root -p
然后输入root帐号密码。
如果是用root帐号登录系统,该step略过。
step 3:安装git,从git上获取输入法程序
输入命令:
apt-get install git-core
git clone git://github.com/tchaikov/scim-googlepinyin.git
cd scim-googlepinyin/
step 4:准备编译输入法程序,安装几个帮助编译的程序
输入命令:
aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automake
apt-get install scim
step 5:编译
输入命令:
./autogen.sh
make
make install
step 6:系统中设置scim为默认输入法:
见下图:
System-->Administration-->Language Support
在最后一行,选择scim。点击“Apply System-Wide”
step 7:重启scim:
输入命令:
pkill scim
scim -d
step 8:restart系统。
假如restart系统后(有人说只要切换用户,不必要重启系统。我经过试验,发现这种说法是错误的),发现还是不能输入中文,重复step7
验证手段:在firefox里打开baidu或google(这里说个小技巧,URL里只要输入baidu和google,按ctrl+enter,URL里会自动补齐www.和.com的。适用于任何浏览器,不过中文版的IE后面自动补齐的是.com.cn),按ctrl+space后,右下角应该有scim google pinyin的。如下图红箭头处:
附:在终端里,鼠标右键“input methods”,选择“SCIM input method”后,在终端里也可以输入中文了。
另外:虽然在make的过程中出现过一些错误,但重启后还是安装成功了。使用这种方式安装有个问题,就是无法实现光标跟随,我在网上搜索了一下,发现这个方法在我的10.04下可以使用。
转自、:http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=295299&view=previous
# gksu gedit /etc/X11/xinit/xinput.d/scim
将GTK IM MOUDLE=xim
QT IM MOUDLE=xim
后边的xim改为scim,保存退出.
在scim输入法中进行了如下设定:
scim设置->全局设置->将预编辑字符串嵌入到客户端中 前地勾去掉
scim设置->gtk->嵌入式候选词标地勾去掉
重启scim
打开终端,输入 pkill scim
然后输入 scim -d
OK。
- ubuntu10.04下安装google拼音输入法 转自:http://darkranger.javaeye.com/blog/760631,http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=295299&vie
- ubuntu 禁用触控板 来自:http://forum.ubuntu.org.cn/viewtopic.php?f=42&t=268943
- http://www.longene.org/forum/viewtopic.php?p=12241
- http://csharp-online.net/forum/viewtopic.php?t=352
- mygeneration调试方法(转http://www.mygenerationsoftware.com/phpBB3/viewtopic.php?f=4&t=3176)
- ssh反向连接和简单实现 转http://www.broncho.cn/forum/viewtopic.php?p=1116
- 用户自定义ID Generator的例子(http://www.hibernate.org.cn/viewtopic.php?t=6281&highlight=IdentifierGenerator)
- http://forum.springframework.org/showthread.php?t=37883
- Windows XP下MinGW的安装与配置 转自http://colorado.javaeye.com/blog/283779
- 什么叫做裸设备?(http://www.irunnet.com/viewtopic.php?t=607)
- Ubuntu下类似qq截图的小巧截图软件[转自:http://hellsing42.javaeye.com/blog/840775]
- 【转】ubuntu10.04下安装google拼音输入法
- ubuntu tomcat cannot find catalina.sh 解决 转自:http://zhoujinxiong.javaeye.com/blog/574228
- ubuntu tomcat cannot find catalina.sh 解决 转自:http://zhoujinxiong.javaeye.com/blog/574228
- Hadoop(转自http://caibinbupt.javaeye.com/blog/262412)
- http://xinsheng.huawei.com/cn/forum/index.php?app=forum&mod=Detail&act=index&id=355911
- php优化(转自http://blog.sina.com.cn/s/blog_59c77e2e0100bqch.html~type=v5_one&label=rela_nextarticle)
- http://sns.testin.cn/forum.php?gid=105
- ……
- ForDream在线音乐播放器[2010-11-07]
- zoj 1188 || poj 1007 DNA Sorting(水~)
- 互联网催生的新的商业模式
- Windows CE下ActiveX 控件的使用
- ubuntu10.04下安装google拼音输入法 转自:http://darkranger.javaeye.com/blog/760631,http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=295299&vie
- Microsoft HTTPAPI 与 Apache 的冲突
- sqlserver与java数据类型对应
- C++中使用BHO来屏蔽特定网站
- MP4文件格式
- google的开源项目总结
- 把U盘做成系统盘
- JQuery+Strusts1.x无刷新登录
- http://soho-cn.info/?82478.htm