LinuxSir.cn,穿越时空的Linuxsir!

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

Cannt use fcitx

[复制链接]
发表于 2007-5-13 14:54:26 | 显示全部楼层 |阅读模式
[root@localhost ~]# locale
LANG=zh_CN.gbk
LC_CTYPE="zh_CN.gbk"
LC_NUMERIC="zh_CN.gbk"
LC_TIME="zh_CN.gbk"
LC_COLLATE="zh_CN.gbk"
LC_MONETARY="zh_CN.gbk"
LC_MESSAGES="zh_CN.gbk"
LC_PAPER="zh_CN.gbk"
LC_NAME="zh_CN.gbk"
LC_ADDRESS="zh_CN.gbk"
LC_TELEPHONE="zh_CN.gbk"
LC_MEASUREMENT="zh_CN.gbk"
LC_IDENTIFICATION="zh_CN.gbk"
LC_ALL=zh_CN.gbk

[root@localhost ~]# echo $XMODIFIERS
@im=fcitx

And now I CANNT use type "ctrl+space" to call fcitx .
When I run fcitx, It CANNT type Chinese or others.
How to fix it ?Any reply will have my thank.
发表于 2007-5-13 15:25:06 | 显示全部楼层
1. install
  1. cd ~/Desktop
  2. wget http://www.fcitx.org/download/fcitx-3.5-070403.tar.bz2
  3. tar xjvf fcitx-3.5-070403.tar.bz2
  4. cd fcitx-3.5
  5. ./configure --prefix=/opt/fcitx35 --enable-xft
  6. make
  7. sudo make install
  8. sudo ln -s /opt/fcitx35/bin/* /usr/bin
复制代码


2. setting
  1. cd /etc/X11/xinit/xinput.d
  2. cat fcitx
  3. #---------------------------------------------------------------------------
  4. # vim:se ft=conf:
  5. #
  6. # 如果在要英文 locale 下输入中文,修改 /etc/gtk-2.0/gtk.immodules 文件,
  7. #    找到 xim 行,在zh类中加入en,如下:
  8. # - "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
  9. # + "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
  10. #
  11. #  将本文件复制到 /etc/X11/xinit/xinput.d/ 下,并将 all_ALL 链接到这个文件
  12. #
  13. XIM=fcitx
  14. XIM_PROGRAM=/usr/bin/fcitx
  15. XIM_ARGS=""
  16. GTK_IM_MODULE=XIM
  17. QT_IM_MODULE=XIM
  18. DEPENDS="fcitx"
  19. #---------------------------------------------------------------------------
  20. ln -s fcitx zh_CN
复制代码

3. restart X  and use
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-15 22:13:39 | 显示全部楼层
谢谢呀,已经可以打字拉,但是偶想去掉"fcitx打字速度"什么爹,感觉很古怪的说~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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