Chinaunix首页 | 论坛 | 博客
  • 博客访问: 693208
  • 博文数量: 245
  • 博客积分: 10037
  • 博客等级: 上将
  • 技术积分: 2512
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-16 17:16
文章分类

全部博文(245)

文章存档

2008年(7)

2007年(238)

我的朋友

分类: LINUX

2007-07-12 13:11:48

转贴请注明出处:
本文作者:jsjzhang,初次写于cublog。

[root@jsjzhang ~]# tar -jxvf fcitx-3.4.2.tar.bz2 -C /usr/local/src/

[root@jsjzhang ~]# cd /usr/local/src/fcitx-3.4.2/

[root@jsjzhang fcitx-3.4.2]# ./configure --prefix=/usr/local/fcitx-3.4.2/

[root@jsjzhang fcitx-3.4.2]# make
[root@jsjzhang fcitx-3.4.2]# make install
[root@jsjzhang fcitx-3.4.2]# rpm -e miniChinput-0.0.3-58
[root@jsjzhang fcitx-3.4.2]# ln -s /usr/local/fcitx-3.4.2/bin/fcitx /bin/fcitx
[root@jsjzhang fcitx-3.4.2]# cd /etc/X11/xinit/xinput.d
[root@jsjzhang xinput.d]# cat iiimf #可以看到以下面修改过的有什么不同
XIM=htt
XIM_PROGRAM=httx
GTK_IM_MODULE=iiim
gnome-im-settings-daemon >/dev/null

[root@jsjzhang xinput.d]# cp iiimf iiimf.old  #把iiimf做个备份.
[root@jsjzhang xinput.d]# vi iiimf  #做一些修改大家可以对比下
[root@jsjzhang xinput.d]# cat iiimf
XIM=fcitx
XIM_PROGRAM=fcitx
GTK_IM_MODULE=xim
gnome-im-settings-daemon >/dev/null
[root@jsjzhang xinput.d]#

在后面添加下面几行:
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
#fcitx load
fcitx&

注销X即可。
阅读(803) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~