背景:
原有的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@]
原有的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/