安装fctix4.0.1-不用配置启动加载

Posted by bokit |

今天重装了一下fctix, 因为输入是老版本,一有不会打的五笔切换就很烦,还有些打不出来,所以重装了一回。这是在Fedora14上成功安装了。
不用设置用户启动配置,例如.bashrc, .bash_profile 文件,完美安装了,
并且GNOME桌面上inputmethod可以查找到输入法fcitx。
1. 下载fcitx :http://code.google.com/p/fcitx/downloads/list
下载源码安装包fcitx-4.0.0.tar.gz
2. 编译安装fcitx:
代码:

  1. tar xvf fcitx-4.0.0_all.tar.gz
  2. cd fcitx-4.0.0
  3. ./autogen.sh
  4. ./configure
  5. make
  6. make check
  7. su
  8. make install

3.建立fcitx的配置文件,如果没有的话就建一个:
代码:

  1. cat > /etc/X11/xinit/xinput.d/fcitx.conf <<EOF
  2. XIM=fcitx
  3. XIM_PROGRAM=/usr/local/bin/fcitx
  4. XIM_ARGS=""
  5. GTK_IM_MODULE=fcitx
  6. QT_IM_MODULE=fcitx
  7. XMODIFIERS="@im=fcitx"
  8. EOF
4.为系统配置工具alternatives安装fcitx输入法

  代码:

  1. alternatives --install /etc/X11/xinit/xinputrc xinputrc /etc/X11/xinit/xinput.d/fcitx.conf 70 
5.如果将fcitx作为系统输入法

代码:

  1. alternatives --config xinputrc

单独用户选择输入法:在系统--首选项--输入法中,选择首选输入法fcixt即可。

6.在英文环境下使用fcitx:
代码:

  1. vim /etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
  2. "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
  3. # 前面加上一个en

评论

发表新评论

此内容将保密,不会被其他人看见。
Image CAPTCHA
Enter the characters shown in the image.