kego 发表于 2004-4-11 16:25:35

安装fcitx后的问题

  最开始的时候我装的是fcitx2.0.1,应该是装成功了(我输入fcitx&的时候小企鹅的图标出来了),但是不管我怎么按(ctrl+sapce 还是 ctrl+shift),输入的都还是英文,(这个时候小企鹅的图标仍然看得到)
  后来没办法,我把fcitx2.0.1给删了,又装fcitx1.8.5,结果还是图标出来了输也的都是英文。
  
  我的系统是RedHat 9.0,
      在.bash_profile时我也加了 export XMODIFIERS="@im=fcitx"

      谢谢高手指教!

atoz1to9 发表于 2004-4-11 17:12:30

你的Locale语言环境是否是英文的,我原来遇到和你相似的问题,在gnome中改成简体中文后就可以使用了。
试试看。

樱家冢 发表于 2004-4-11 19:33:46

运行 export
贴出来

kego 发表于 2004-4-11 20:43:55

the result after I run "export" and "locale" is:
=>? export
declare -x COLORTERM="gnome-terminal"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="Default"
declare -x GDM_LANG="en_US.UTF-8"
declare -x GNOME_DESKTOP_SESSION_ID="Default"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/kego/.gtkrc-1.2-gnome2"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/home/kego"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x LAMHELPFILE="/etc/lam/lam-helpfile"
declare -x LANG="en_US.UTF-8"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="kego"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/spool/mail/kego"
declare -x OLDPWD
declare -x PATH="/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kego/bin"
declare -x PVM_ROOT="/usr/share/pvm3"
declare -x PVM_RSH="/usr/bin/rsh"
declare -x PWD="/home/kego"
declare -x QTDIR="/usr/lib/qt-3.1"
declare -x SESSION_MANAGER="local/localhost.localdomain:/tmp/.ICE-unix/1035"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SSH_AGENT_PID="1084"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_AUTH_SOCK="/tmp/ssh-XX2rLCR4/agent.1035"
declare -x TERM="xterm"
declare -x USER="kego"
declare -x WINDOWID="35651645"
declare -x XAUTHORITY="/tmp/.gdmjt3IHn"
declare -x XMODIFIERS="@im=fcitx"
declare -x XPVM_ROOT="/usr/share/pvm3/xpvm"
=>? cl

=>? locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
=>?

kego 发表于 2004-4-12 00:17:55

刚才我从gonue换到了kde,好象在kde里要好一点
我运行“fcitx&”出现了小企鹅,按"ctrl+space"也调也了五笔输入法
但是不管在哪里(我试了vim,console,molliza,open office),字就是输不
进去

winme 发表于 2004-4-12 10:49:56

把LC_CTYPE设置成zh_CN
试试
字输入不进入?
在KDE下,
#qtconfig
XIM 里有项选over the spot

kego 发表于 2004-4-12 12:18:40

  我终于可以输入中文了,现在就是在linux下输入的! 谢w
       thank winme!!
       but there is another problems!!
       When I change to English by using "ctrl+space", the character I input dosn't display correctly, for example, when I input "w",it displays "n"
       I press "ctrl+space" again and again, now the Engilsh input is correctly! but I cann't input
chines again. I don't know the problem is the"fcitx" or my setting
      
       another problem is the KDE envrionment is change to chinese, the width between English
character is too long, I insert the following code in file" /etc/fonts/fonts.conf"
      
<match target="font">
                   <test target="pattern" name="lang" compare="contains">
                     <string>zh-tw</string>
                     <string>zh-cn</string>
                     <string>ja</string>
                     <string>ko</string>
               </test>
               <edit name="spacing">
                      <const>proportional</const>
               <edit name="globaladvance">
                      <bool>false</bool>
               &lt;/edit&gt;
         &lt;/match&gt;

the another problem comes: I cann't login in my account, it says there is a "session error"
when I delete the code by root,I can login in, but the problem is still there---the width too
long

kego 发表于 2004-4-12 12:21:13

following is my "export " and "locale"

=>? export
declare -x COLORTERM=""
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="KDE"
declare -x GDM_LANG="en_US.UTF-8"
declare -x GS_LIB="/home/kego/.kde/share/fonts"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/kego/.gtkrc:/home/kego/.gtkrc-kde"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/home/kego"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x KDE_MULTIHEAD="false"
declare -x KONSOLE_DCOP="DCOPRef(konsole-2624,konsole)"
declare -x KONSOLE_DCOP_SESSION="DCOPRef(konsole-2624,session-1)"
declare -x LAMHELPFILE="/etc/lam/lam-helpfile"
declare -x LANG="en_US.UTF-8"
declare -x LC_CTYPE="zh_CN"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="kego"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:
cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:
*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.
tgz=00;31:=>? locale
LANG=en_US.UTF-8
LC_CTYPE=zh_CN
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
=>? export
declare -x COLORTERM=""
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="KDE"
declare -x GDM_LANG="en_US.UTF-8"
declare -x GS_LIB="/home/kego/.kde/share/fonts"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/kego/.gtkrc:/home/kego/.gtkrc-kde"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/home/kego"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x KDE_MULTIHEAD="false"
declare -x KONSOLE_DCOP="DCOPRef(konsole-2624,konsole)"
declare -x KONSOLE_DCOP_SESSION="DCOPRef(konsole-2624,session-1)"
declare -x LAMHELPFILE="/etc/lam/lam-helpfile"
declare -x LANG="en_US.UTF-8"
declare -x LC_CTYPE="zh_CN"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="kego"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:
cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:
*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.
tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.
gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;
35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/spool/mail/kego"
declare -x OLDPWD
declare -x PATH="/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kego/bin"
declare -x PVM_ROOT="/usr/share/pvm3"
declare -x PVM_RSH="/usr/bin/rsh"
declare -x PWD="/home/kego"
declare -x QTDIR="/usr/lib/qt-3.1"
declare -x SESSION_MANAGER="local/localhost.localdomain:/tmp/.ICE-unix/2432"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SSH_AGENT_PID="2361"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_AUTH_SOCK="/tmp/ssh-XXAEGqWd/agent.2312"
declare -x TERM="xterm"
declare -x USER="kego"
declare -x XAUTHORITY="/tmp/.gdmeFTVSY"
declare -x XMODIFIERS="@im=fcitx"
declare -x XPVM_ROOT="/usr/share/pvm3/xpvm"
=>?
页: [1]
查看完整版本: 安装fcitx后的问题