|
用的是SLES9
安装SCIM-1.0使用./configure --prefix=/usr
scim-chinese使用./configure --prefix=/usr
修改/etc/X11/xinit/xserverrc
加入[PHP]if type -p scim > /dev/null 2>&1 ; then
export XMODIFIERS="@im=SCIM"
scim -d
elif type -p xcin > /dev/null 2>&1 ; then
export XMODIFIERS="@im=xcin-zh_CN" LANG=zh_CN LC_ALL=zh_CN xcin &
fi
;;[/PHP]
运行scim -d
[PHP]linux:~ # scim -d
Smart Common Input Method 1.0.1
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading IMEngine module: pinyin ...
Loading IMEngine Factory 0 ... : OK
pinyin IMEngine module is successfully loaded.
Loading IMEngine module: rawcode ...
Loading IMEngine Factory 0 ... : OK
rawcode IMEngine module is successfully loaded.
Loading IMEngine module: table ...
Failed to load table IMEngine module.
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
Loading IMEngine Factory 0 ... : OK
Loading IMEngine Factory 1 ... : OK
Loading IMEngine Factory 2 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM as daemon ...
SCIM has been successfully launched.[/PHP]
而运行scim
[PHP]Smart Common Input Method 1.0.1
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading IMEngine module: pinyin ...
Loading IMEngine Factory 0 ... : OK
pinyin IMEngine module is successfully loaded.
Loading IMEngine module: rawcode ...
Loading IMEngine Factory 0 ... : OK
rawcode IMEngine module is successfully loaded.
Loading IMEngine module: table ...
Failed to load table IMEngine module.
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
Loading IMEngine Factory 0 ... : OK
Loading IMEngine Factory 1 ... : OK
Loading IMEngine Factory 2 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to connect to the panel daemon!
scim::FrontEnd: X11 -- failed to connect to the panel daemon!
SCIM has exited abnormally.
[/PHP] |
|