ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Install scim-pinying from src in Fedora

Install scim-pinying from src in Fedora

原创 Linux操作系统 作者:101OIO 时间:2008-05-13 19:03:21 0 删除 编辑
背景:

原有的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博客 ” ,链接:https://blog.itpub.net/55968/viewspace-1003992/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: eclipes MS932
请登录后发表评论 登录
全部评论
  • 博文量
    47
  • 访问量
    81416