LinuxSir.cn,穿越时空的Linuxsir!

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

Please help on fcitx

[复制链接]
发表于 2003-3-17 03:41:04 | 显示全部楼层 |阅读模式
I am using English Redhat 8.0

after installed fcitx following the instruction, I could see the small icon with "fcitx" in red and a Chinese "Five", but could not activate the input method with ctrl-space.

I have tried many combinations of locale, but the problem persists.

When started fcitx, here is what I saw from the log files (tail -f /var/log/XFree86.*):

(II) Loading sub module "ARMSCII8"
(II) LoadModule: "ARMSCII8"
(II) Loading /usr/X11R6/lib/modules/codeconv/libARMSCII8.a
(II) Module ARMSCII8: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "ARMSCII8"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libARMSCII8.a
(II) Loading sub module "ARABIC"
(II) LoadModule: "ARABIC"
(II) Loading /usr/X11R6/lib/modules/codeconv/libARABIC.a
(II) Module ARABIC: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "ARABIC"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libARABIC.a
(II) Loading sub module "BIG5HKSCS"
(II) LoadModule: "BIG5HKSCS"
(II) Loading /usr/X11R6/lib/modules/codeconv/libBIG5HKSCS.a
(II) Module BIG5HKSCS: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "BIG5HKSCS"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libBIG5HKSCS.a
(II) Loading sub module "BIG5"
(II) LoadModule: "BIG5"
(II) Loading /usr/X11R6/lib/modules/codeconv/libBIG5.a
(II) Module BIG5: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "BIG5"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libBIG5.a
(II) Loading sub module "DOSENCODING"
(II) LoadModule: "DOSENCODING"
(II) Loading /usr/X11R6/lib/modules/codeconv/libDOSENCODING.a
(II) Module DOSENCODING: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "DOSENCODING"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libDOSENCODING.a
(II) Loading sub module "GB18030"
(II) LoadModule: "GB18030"
(II) Loading /usr/X11R6/lib/modules/codeconv/libGB18030.a
(II) Module GB18030: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "GB18030"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libGB18030.a
(II) Loading sub module "GB2312"
(II) LoadModule: "GB2312"
(II) Loading /usr/X11R6/lib/modules/codeconv/libGB2312.a
(II) Module GB2312: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "GB2312"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libGB2312.a
(II) Loading sub module "GBK"
(II) LoadModule: "GBK"
(II) Loading /usr/X11R6/lib/modules/codeconv/libGBK.a
(II) Module GBK: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "GBK"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libGBK.a
(II) Loading sub module "GEORGIAN"
(II) LoadModule: "GEORGIAN"
(II) Loading /usr/X11R6/lib/modules/codeconv/libGEORGIAN.a
(II) Module GEORGIAN: vendor="X-TrueType Server Project"
        compiled for 4.2.0, module version = 1.3.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) UnloadModule: "GEORGIAN"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libGEORGIAN.a
(II) Loading sub module "ISO8859_1"
(II) LoadModule: "ISO8859_1"
(II) Reloading /usr/X11R6/lib/modules/codeconv/libISO8859_1.a



and when I killed fcitx, I got these in the log,

(II) UnloadSubModule: "ISO8859_1"

Could these log entries help anybody to help me?
发表于 2003-3-17 11:47:01 | 显示全部楼层
你的做法很好,呵呵。
你这个问题是因为locale不对,先检查一下locale的设置,再按照fcitx说明文件里的locale那里,对照着看一下。也可以在本版搜索locale
 楼主| 发表于 2003-3-17 14:05:17 | 显示全部楼层
here is the output of locale at the moment:

LANG=zh_CN.GB18030
LC_CTYPE="zh_CN"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_COLLATE="zh_CN"
LC_MONETARY="zh_CN"
LC_MESSAGES="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=zh_CN

However, I have also tried other combinations suggested in this bbs, still no luck.

Could it possibly be the font problem? Which config file should I modify and how?

Thank you very much for your response.
发表于 2003-3-17 14:13:17 | 显示全部楼层
你的LC_ALL和LANG不一样啊,先把它们改成一样的吧。
字体不会的,如果是字体问题,不会影响ctrl+space呼出的,只不过你看不到输入条里有汉字。
要改的文件是:
~/.bashrc
redhat8还要看看:
/etc/sysconfig/i18n
 楼主| 发表于 2003-3-17 14:30:51 | 显示全部楼层
I have changed locale to the following,

LANG=zh_CN
LC_CTYPE="zh_CN"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_COLLATE="zh_CN"
LC_MONETARY="zh_CN"
LC_MESSAGES="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=zh_CN

still no luck,

here is my .gWuBi/profile,

#所有“是否”问题的回答:1-->是(打开)  0-->否(关闭)
区域设置=zh_CN
字体=simsun
字体区域设置=zh_CN
是否自动隐藏输入条=1
是否隐藏主图标=0
是否光标跟随=1
是否使用Z输入拼音=1
出错时是否响铃=0
是否使用双拼=0
是否切换区位输入法=1
#重码调整方式说明:0-->不调整  1-->快速调整  2-->按频率调整
拼音单字重码调整方式=1
拼音词组重码调整方式=1
拼音常用词重码调整方式=2
是否模糊an和ang=0
是否模糊en和eng=0
是否模糊ian和iang=0
是否模糊in和ing=0
是否模糊ou和u=0
是否模糊uan和uang=0
是否模糊c和ch=0
是否模糊f和h=0
是否模糊l和n=0
是否模糊s和sh=0
是否模糊z和zh=0

The version of fcitx is 1.18.2

The /etc/sysconfig/i18n is
LANG="zh_CN"
SYSFONT="simsun"

Ctrl-Space still doesn't get any response...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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