|
自我感觉这个输入法除了速度比minichinput慢之外,其它方面都要好
在rh8.0,locale为CB18030的环境下编译得到的(自做的),需要db4;在本人的机器上安装测试成功,但不知道其它机器怎样;大家用rh8而且有兴趣的的帮忙测试一下,如果大家觉得好用,我就放上"自由软件"里供下载了
下载地址为:
http://211.95.164.49/linuxcn/soft/chinese/xsim-0.3.9.4-2.i386.rpm
http://211.95.164.49/linuxcn/soft/chinese/xsimdata-0.3.9.4-2.i386.rpm
第一个为输入法的输入部分,必需的,第二个为智能词库,如果你以前已经安装过xsim并成功运行,请不要安装第二个,因为它会覆盖你原来的习惯词库
安装前建议先卸载rh8自带的minichinput,用这个命令:
rpm -e miniChinput-0.0.3-27
用rpm -ivh xxx.rpm安装后xsim后,编辑~/.bash_profile,在最后追加一行
export XMODIFIERS=@im=XSIM
注销一下,进入x后,开一个终端窗口,运行xsim,如果出现一个写着"简"字的状态栏,则表示安装成功了
你可以修改/usr/local/xsim/etc/xsimrc文件来设定xsim的各种参数,当然也可以将它拷贝到~/.xsim目录下做为你自己的配置文件,下面是我用的一个范例(用simsun做显示字体):
# xsim config file
XIM_NAME "XSIM"
XIM_LOCALE "AUTO"
#XIM_EXT_LOCALE ""
XIM_EXT_LOCALE "zh_TW,ja_JP,zh_CN.UTF-8"
ON_SPOT_ENABLED Yes
DICT_LOCAL /usr/local/xsim/dat
PLUGIN_LOCAL /usr/local/xsim/plugins
TRIGGER_KEY "ctrl space"
SWITCH_KEY "ctrl Shift_L"
SHOW_STATUS_PANEL Yes
# Refer to /usr/lib/X11/rgb.txt for details of colors
INPUT_PANEL "std"
FG_COLOR "black"
BG_COLOR "gray92"
SUFFIX_COLOR "blue"
CARET_COLOR "blue"
#FONT_NAME "AUTO"
FONT_NAME "-misc-simsun-medium-r-normal-*-14-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal-*-14-*-*-*-*-*-gbk-0"
# avliable status_panel "std" "kde2" "kde3"
STATUS_PANEL "std"
FG_COLOR "black"
BG_COLOR "gray92"
STATUS_COLOR "green"
# FONT_NAME "AUTO"
FONT_NAME "-misc-simsun-medium-r-normal-*-16-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal-*-14-*-*-*-*-*-gbk-0"
# input mothed should define at last
# can define up to 10
# by now, we got three
INPUT_METHOD "jianpin"
IM_DESC 简拼
CARE_H No
CARE_NG Yes
DEFAULT_MB_DOT No
CHARDB chardb
WORDDB worddb
#maybe u need these key
#PREV_KEY "Page_Up"
#NEXT_KEY "Page_Down"
PREV_KEY "comma"
NEXT_KEY "period"
B2Q_KEY "shift space"
DOTSWITCH_KEY "ctrl period"
#<N> will be replaced by 1-9
WORDDELETE_KEY "ctrl N"
INPUT_METHOD "wubi"
IM_DESC 五笔
DEFAULT_MB_DOT Yes
WORDDB worddb.wubi
#maybe u need these key
#PREV_KEY "Page_Up"
#NEXT_KEY "Page_Down"
PREV_KEY "comma"
NEXT_KEY "period"
B2Q_KEY "shift space"
NEW_WORD_KEY "ctrl Insert"
DOTSWITCH_KEY "ctrl period"
#<N> will be replaced by 1-9
WORDDELETE_KEY "ctrl N"
#INPUT_METHOD "table"
# IM_DESC 苍颉
# WORDDB worddb.cj
#maybe u need these key
#PREV_KEY "Page_Up"
#NEXT_KEY "Page_Down"
# PREV_KEY "comma"
# NEXT_KEY "period" |
|