Install scim-pinying from src in Fedora

背景:

原有的Fedora上已经缺省安装了scim-pinyin 等IM,为了练练手决定通过src来安装。
首先是通过[rpm -e ] uninstall all package about scim

问题描述
1. Download source of SCIM and SCIM-pinying from sourceforge
2. ./configurate --prefix=/usr -> make -> install (SCIM -> SCIM-pinying)
(notice: defaultly installl in /usr/local, if so, environment variable PKG_CONFIG_PATH need to be specified (/usr/local/lib/pkgconfig) before installing SCIM-pinying
3. restart X windows

result
1.scim is not runing
2. Ctrl+Space IM bar doesn't appear

原因查找:
(google上search了很多,不过only找到一篇有用的)
ref:
(http://fedora.linuxsir.org/main/aggregator/sources/1?page=8
也谈Fedoar输入法设置)

Firstly,X windows start process need to be understood.
1.etc/X11/xinit/xinitrc
2./etc/X11/xinit/xinitrc-common
3./etc/X11/xinit/xinitrc.d/xinput.sh (*)
所有的输入法设置和启动都是在/etc/X11/xinit/xinitrc.d/xinput.sh里完成的
please read xinput.sh carefully

原因分析:
In my case, the config file(xinputrc) read by xinput.sh is linked to /etc/X11/xinit/xinput.d/xim.conf

Solution:
1. create scim.conf as followed.
XIM=SCIM
XIM_PROGRAM=scim
XIM_ARGS="-d"
GTK_IM_MODULE=scim
QT_IM_MODULE=scim

2. link /etc/X11/xinit/xinputrc into scim.conf

Comment:
Scim of creator is Chinese(not japanese) -- suzhe. So pride.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/55968/viewspace-1003992/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/55968/viewspace-1003992/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值