LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Rechard

fcitx无法输入中文

[复制链接]
发表于 2003-1-1 20:38:39 | 显示全部楼层
那你运行的时候,就在.gWuBi/profile里加上一个缺省的locale,和你现在的locale一样,试试看?
发表于 2003-1-5 09:37:45 | 显示全部楼层
我是新手 不过按照各位的方法成功安装了输入发,谢谢各位大大   谢谢~
发表于 2003-1-7 21:25:38 | 显示全部楼层

装上了fcitx,无法输入中文,same here,please help!

I had the same problem, 能出来一个状态栏,红色的fcitx和灰色的“五”,but 无法输入中文,
I've done this:
   ln -s fcitx gWuBi
you can find out here:
  lrwxrwxrwx    1 root     root            5 Dec 31 22:00 gWuBi -> fcitx

The output of locale is as follows
ANG=zh_CN.GB18030
LC_CTYPE="zh_CN.GB18030"
LC_NUMERIC="zh_CN.GB18030"
LC_TIME="zh_CN.GB18030"
LC_COLLATE="zh_CN.GB18030"
LC_MONETARY="zh_CN.GB18030"
LC_MESSAGES="zh_CN.GB18030"
LC_PAPER="zh_CN.GB18030"
LC_NAME="zh_CN.GB18030"
LC_ADDRESS="zh_CN.GB18030"
LC_TELEPHONE="zh_CN.GB18030"
LC_MEASUREMENT="zh_CN.GB18030"
LC_IDENTIFICATION="zh_CN.GB18030"
LC_ALL=

I even change the "profile" file in
.gWuBi directory, like this:
区域设置=zh_CN.GB18030
字体=*
字体区域设置=zh_CN.GB18030

I also tried to add following in .bashrc:
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx

still the same.

By the way, to test fcitx , I have to open
a terminal ,then type :
fcitx (&)
红色的fcitx和灰色的“五” just sits there, didn't
respond, even I use mouse to click on it, use
ctrl+space, use shift, use alt. Of course , I could
drag this little thing to anywhere I like, but other
than that, it does nothing.

I even tried tram's ebf, same thing, doesn't help.

Could anyone help me out ? I really need something
to allow me to input Chinese .

Thanks.

nan
发表于 2003-1-7 21:30:06 | 显示全部楼层
#cd /usr/bin
#ln -s fcitx gWuBi
发表于 2003-1-7 21:58:40 | 显示全部楼层
你可以把locale改成zh_CN.GBK或zh_CN.gbk试试,还有,你的locale是在哪里设置的?最好在~/.bashrc里设置,/etc/sysconfig/i18n里的也要和.bashrc里的一样。
发表于 2003-1-7 22:01:30 | 显示全部楼层
前两天,我的X又让我给搞坏了,没办法,我重装了一遍RH8,然后按照http://www.linuxsir.cn/forum.php?mod=viewthread&tid=19270 安装成功了,记住,一定要一字不落地按照那个方法安装!但是在有些应用程序中还是不能用,比如Ximian Evolution, AMSN 。
发表于 2003-1-7 23:05:54 | 显示全部楼层
Thank you ,but still not working!

I put the following in the .bashrc:
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx

I did find some problem in /etc/sysconfig/i18n
originally it is like this:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Now I changed it as following:

LANG="zh_CN.gbk"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

and it doesn't work.

I suppose I still need to do something with this file,but don't know how to do it, would you please
help me ?

By the way, I did  do this  " ln -s fcitx gWuBi "
in /usr/bin.

Thanks again
nan
发表于 2003-1-7 23:08:07 | 显示全部楼层
Thank you ,but still not working!

I put the following in the .bashrc:
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx

I did find some problem in /etc/sysconfig/i18n
originally it is like this:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Now I changed it as following:

LANG="zh_CN.gbk"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

and it doesn't work.

I suppose I still need to do something with this file,but don't know how to do it, would you please
help me ?

By the way, I did do this " ln -s fcitx gWuBi "
in /usr/bin.

Thanks again
nan
发表于 2003-1-7 23:26:48 | 显示全部楼层
最初由 tram 发布
你可以把locale改成zh_CN.GBK或zh_CN.gbk试试,还有,你的locale是在哪里设置的?最好在~/.bashrc里设置,/etc/sysconfig/i18n里的也要和.bashrc里的一样。


Thank you ,but still not working!

I put the following in the .bashrc:
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx

I did find some problem in /etc/sysconfig/i18n
originally it is like this:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Now I changed it as following:

LANG="zh_CN.gbk"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

and it doesn't work.

I suppose I still need to do something with this file,but don't know how to do it, would you please
help me ?

By the way, I did do this " ln -s fcitx gWuBi "
in /usr/bin.

Thanks again
nan

-------------------------------
If you this again and again, I am sorry,
I am not sure why it happens, I mean posted
three times, but it always appeared in a differnt
thread.
发表于 2003-1-7 23:34:35 | 显示全部楼层
LANG="zh_CN.gbk"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

在这里面再加两行试试,把LC_CTYPE和LC_ALL都加成zh_CN.gbk,或者再用zh_CN.GBK,我在redhat 8上没有费这么大事啊,我想可能还有别的原因。
你以前装过gWuBi么?能不能使用呢?还有,你的系统是怎样的?你在什么桌面下,还有,你的fcitx是自动运行的,还是手动开的?你是用什么方式登陆的?是用图形的,还是用startx这样的?我想可能这里有些问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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