LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 936|回复: 2

In RedHat9 + FVWM, Ctrl+Space doesn't work for FCITX, and I can't input Chin

[复制链接]
发表于 2005-10-6 23:37:35 | 显示全部楼层 |阅读模式
Hi,
I have installed fcitx, and can start it from the console successfully (no error messages reported, and toolbar appeared), and set the related env vars:

export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx

And create link "/usr/bin/chinput" to fcitx.

But if I tried Ctrl+Space, nothing happen and I can't input Chinese yet.

Is there anyone can help me on it?

My Linux is RedHat 9, and WDM is FVWM.
 楼主| 发表于 2005-10-6 23:51:07 | 显示全部楼层

我切换成中文环境就可以输入中文了,那如何在英文环境下使用呢?

Post by amumu
Hi,
I have installed fcitx, and can start it from the console successfully (no error messages reported, and toolbar appeared), and set the related env vars:

export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx

And create link "/usr/bin/chinput" to fcitx.

But if I tried Ctrl+Space, nothing happen and I can't input Chinese yet.

Is there anyone can help me on it?

My Linux is RedHat 9, and WDM is FVWM.


通过修改/etc/sysconfig/i18n,如下:
MYLOCALE="zh_CN.GB2312"
LANG=$MYLOCALE
LC_CTYPE=$MYLOCALE
LANGUAGE=$MYLOCALE
LC_ALL=$MYLOCALE
SUPPORTED="zh_CN.GB2312:zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
就可以输入中文了,可是如果修改成“en_US.UTF-8”则不行的,是不是fcitx不能在英文环境下使用?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-7 01:45:14 | 显示全部楼层
Post by amumu
通过修改/etc/sysconfig/i18n,如下:
MYLOCALE="zh_CN.GB2312"
LANG=$MYLOCALE
LC_CTYPE=$MYLOCALE
LANGUAGE=$MYLOCALE
LC_ALL=$MYLOCALE
SUPPORTED="zh_CN.GB2312:zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
就可以输入中文了,可是如果修改成“en_US.UTF-8”则不行的,是不是fcitx不能在英文环境下使用?


将/etc/sysconfig/i18n修改如下,则可以了:
MYLOCALE_EN="en_US.UTF-8"
MYLOCALE_CN="zh_CN.GB2312"
MYLOCALE=$MYLOCALE_EN
LANG=$MYLOCALE
LC_CTYPE=$MYLOCALE_CN
LANGUAGE=$MYLOCALE
LC_ALL=$MYLOCALE
SUPPORTED="zh_CN.GB2312:zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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