LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3035|回复: 7

我的unstable debian安装历程[七][原创:JiRen兄]

[复制链接]
发表于 2002-10-18 00:14:34 | 显示全部楼层 |阅读模式
七. 安装xsim
先下载 xsim-0。3。9。3源包,DB4包:
db-4.1.24.tar.gz
xsim-0.3.9.3.tar.gz

1)按照README。cn的说明安装DB4
2)找到编译出的db-4.1.Cxx.so,拷到/usr/lib/下
3)apt-get install xlibs-dev libqt3-dev
4)有了前面三步,就不会编译报错了。按照README。cn的说明安装xsim:
./configure(不用加locale=GB2312,默认就是)
make
make install
make install-data
5).xsession文件:

  1. LANG=zh_CN.GB2312
  2. LC_ALL=zh_CN.GB2312
  3. LC_CTYPE=zh_CN.GB2312
  4. KDE_LANG=zh_CN.GB2312
  5. export LANG LC_ALL LC_CTYPE KDE_LANG

  6. export XMODIFIERS=@im=XSIM
  7. #export XMODIFIERS=@im=chinput
  8. #export XMODIFIERS=@im=xcin

  9. /usr/local/xsim/bin/xsim &
  10. #chinput
  11. #xcin

  12. #exec gnome-session
  13. exec wmaker
  14. #exec icewm-gnome

  15. killall xsim
复制代码

6)/usr/local/xsim/etc/xsimrc文件:

  1. # xsim config file
  2. XIM_NAME "XSIM"
  3. XIM_LOCALE "zh_CN"
  4. XIM_EXT_LOCALE ""
  5. #XIM_EXT_LOCALE "zh_TW,ja_JP,zh_CN.UTF-8"

  6. ON_SPOT_ENABLED Yes
  7. DICT_LOCAL /usr/local/xsim/dat
  8. PLUGIN_LOCAL /usr/local/xsim/plugins

  9. TRIGGER_KEY "ctrl space"
  10. SWITCH_KEY "ctrl Shift_L"

  11. SHOW_STATUS_PANEL Yes

  12. # Refer to /usr/lib/X11/rgb.txt for details of colors
  13. INPUT_PANEL "std"
  14. FG_COLOR "black"
  15. BG_COLOR "gray92"
  16. SUFFIX_COLOR "blue"
  17. CARET_COLOR "blue"
  18. #FONT_NAME "AUTO"
  19. FONT_NAME "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-*,-*-simsun-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0"

  20. # avliable status_panel "std" "kde2" "kde3"
  21. STATUS_PANEL std
  22. FG_COLOR "black"
  23. BG_COLOR "gray92"
  24. STATUS_COLOR "green"
  25. #FONT_NAME "AUTO"
  26. FONT_NAME "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-*,-*-simsun-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0"

  27. # input mothed should define at last
  28. # can define up to 10
  29. # by now, we got three

  30. INPUT_METHOD "jianpin"
  31. IM_DESC 简拼
  32. CARE_H No
  33. CARE_NG Yes
  34. CHARDB chardb
  35. WORDDB worddb
  36. #maybe u need these key
  37. #PREV_KEY "Page_Up"
  38. #NEXT_KEY "Page_Down"

  39. PREV_KEY "comma"
  40. NEXT_KEY "period"
  41. B2Q_KEY "shift space"
  42. #<N> will be replaced by 1-9
  43. WORDDELETE_KEY "ctrl N"

  44. INPUT_METHOD "wubi"
  45. IM_DESC 五笔
  46. WORDDB worddb.wubi

  47. #maybe u need these key
  48. #PREV_KEY "Page_Up"
  49. #NEXT_KEY "Page_Down"

  50. PREV_KEY "comma"
  51. NEXT_KEY "period"
  52. B2Q_KEY "shift space"
  53. NEW_WORD_KEY "ctrl Insert"
  54. #<N> will be replaced by 1-9
  55. WORDDELETE_KEY "ctrl N"

  56. #INPUT_METHOD "table"
  57. # IM_DESC 苍颉
  58. # WORDDB worddb.cj

  59. #maybe u need these key
  60. #PREV_KEY "Page_Up"
  61. #NEXT_KEY "Page_Down"

  62. # PREV_KEY "comma"
  63. # NEXT_KEY "period"
复制代码
发表于 2002-11-10 23:56:00 | 显示全部楼层
大家有的可能用的是deb包安装,用dpkg -i命令。
中间可能提示些倚赖关系,按提示装上。
不过xsimrc文件的位置稍有不同在 /etc/xsim/xsimrc
这个文件是必须修改的,不然无法输入汉字。
发表于 2003-3-9 13:11:16 | 显示全部楼层
如果你用的是 unstable 的话,可以直接用 apt-get 安装 libdb4.1 相关的几个包,这样就用不着前面的一步了。
发表于 2003-3-25 22:17:48 | 显示全部楼层
i use .deb install xsim.and i have install the depense of the package.but when i type xsim,it display:IMOpenIM failed
what is the key matter,anybody help me
发表于 2003-3-26 11:27:31 | 显示全部楼层
“IMOpenIM failed”好象是输入法无法加载,你确定安装了关联包吗?
我原来也是用XSIM,极不爽,聊天时经常死掉,后来换成fcitx,这个输入法不错,向你推荐。
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=27869
发表于 2003-3-28 14:14:18 | 显示全部楼层
ok,我搞定了,装好了fcitx,编译的.不过还有点问题,就是没有选字的,拼音打好后,我不知道第几个是自己想要的字,没法看到选择的字,是不是我没有选择好,我现在是在linux下面.
发表于 2003-4-8 23:48:50 | 显示全部楼层

where is the db-4.1.Cxx.so?

thanks a lot
发表于 2003-4-9 08:53:22 | 显示全部楼层
To: ljcai123
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=27603

新用户提醒:
发帖前浏览置顶帖,是个很好的习惯,可以节省你和大家的时间:p
http://www.linuxsir.cn/bbs/showthread.php?threadid=31424
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表