Things change, roll with the punches.Oh, yeah. Go for it man, jump off the high dive, stare down the barrel of the gun, pee into the wind!
red hat linux as4下安装小企鹅输入法(fcitx)
上一篇 /
下一篇 2007-01-05 01:05:42
/ 个人分类:Linux
51Testing软件测试网%E$a)H!eJ3n8d删除系统原来的输入法
K(M8T`%KG051Testing软件测试网)R~2}|^+Lm"h:lx3?查找包含iiim的包51Testing软件测试网d~#\?R_
rpm -qa iiim*51Testing软件测试网%U*e;x6H,sq3KrD)Uf;`*y
用下面的命令把找到的rpm包全删掉就是:
1pX$t3Z*]0\K)L}t`0rpm -exxxx--nodeps
+i(s_7J6U9r_?.Ad051Testing软件测试网Q I7E2~ b4i7A注意:上面的XXXX用你rpm -qa iiim*搜索的结果代替51Testing软件测试网.[/lc/N5pE$iC
*rs2n/}1K$@#T0下载fcitxhttp://www.fcitx.org/main/?q=node/951Testing软件测试网*h+_ea uz
/Z2l"U C9`0本例下载的是fcitx-3.0.2-1.i386.rpm
6K,KW0?;q`A8Z/h_n051Testing软件测试网6](S;y9rN#u
C)`!d2K
安装代码(root权限)51Testing软件测试网K2?/W7\d^
51Testing软件测试网2S-x
q5x
~:t+K
rpm -ivh fcitx-3.0.2-1.i386.rpm
{
G'OkQd
y051Testing软件测试网
d$V Br.`,Hh-x)`5Z输入法的一系列配置(配置将使用到编辑器,建议用vi不会的赶快去学习,装有KDE的可以用kate,GNOME的用户可以用gedit)
Xhm5s!R'Gp-L051Testing软件测试网G1Zs.k
gv
用编辑器打开$HOME/.bashrc将下面代码添加到最后即可51Testing软件测试网:nh\L,x:Q$cB)j:}
#locale51Testing软件测试网'T;m_W\y
export LC_ALL=zh_CN.UTF-8
(]+O%`x{+_A0export LANG=zh_CN.UTF-851Testing软件测试网
X/u%a8g0B*H3R+D
export XMODIFIERS=@im=fcitx51Testing软件测试网B$gS#^,l.z!yo)j5@5`
51Testing软件测试网4K,M.b)z7L;gk6r
_3gK-Lu C0用编辑器打开$HOME/.bash_profile将下面代码添加到最后即可
s p7k6\:AB051Testing软件测试网)BMy1nI!vV3\MU#load fcitx
Y1t R:f8gl'A:Ig(n0fcitx&
x]I!T8A,^"J0
q9K(he-MYP&Q+X0将/etc/X11/xinit/xinput.d/zh_CN修改为如下所示
+@m8xM t GS0XIM=fcitx
3C)M,jXy\0XIM_PROGRAM=fcitx
{&K*W7\T;la0GTK_IM_MODULE=fcitx
k~5YC%w2sc7[0gnome_im_setting_daemon51Testing软件测试网.ISQ"H9J
}
c*AfCV3h0将/etc/sysconfig/i18n修改为如下所示51Testing软件测试网} {.L'lF]}W2@
LANG="zh_CN.UTF-8"51Testing软件测试网7^7V-H%[&Kt/g&?'u
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
@%R$[(t5])^&J9O0SYSFONT="latercyrheb-sun16"51Testing软件测试网5U#exeUZ4@9Gyx)A
51Testing软件测试网u8~zNifH!a
51Testing软件测试网5t'_dN9NG2a~
51Testing软件测试网Va-w`aF
======================================51Testing软件测试网8x(I$h`+G
修改fcitx的配置文件,使它好看一点51Testing软件测试网C@9q^1H%m
修改$HOME/.fcitx/config
,`b-qLL0以下是我的配置文件,作参考51Testing软件测试网u.q]sMu
======================================
A3x{ r3|u!s0[程序]
1B#U6i#gW%SQ0显示字体=LinuxSong 51Testing软件测试网 p@#Q/SYV+G
显示字体大小=11
zf(KH
h})S_0主窗口字体大小=1151Testing软件测试网E"rT [+vf
是否使用AA字体=151Testing软件测试网 Ux ^9w4U;y
51Testing软件测试网4`wh)U~Y6{B
[输出]51Testing软件测试网k9G0]z:P(s2n
数字后跟半角符号=151Testing软件测试网2[!PS8K.z
Enter键行为=2
,F^9K[k/NEA6|e0分号输入英文=051Testing软件测试网6M T
s!w\Q
大写字母输入英文=1
c$}s u2y#S]ErnO/oaO0联想方式禁止翻页=1
joG*iP0LumaQQ支持=1
+H.tT(KdO6XZ051Testing软件测试网4A sZR4IlW
[界面]51Testing软件测试网"VHR,K.J9M:`\l2H
候选词个数=851Testing软件测试网 Ok.} Pl2r2u[
主窗口是否使用3D界面=0
-k+Y/o,rV3s"S@E{|0输入条使用3D界面=251Testing软件测试网"m+FJ?:YK$U,A/P
主窗口隐藏模式=0
~_Cs5Nuu9OR R&eH
W0是否自动隐藏输入条=1