LinuxSir.cn,穿越时空的Linuxsir!

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

[help] fcitx problem

[复制链接]
发表于 2007-3-17 09:32:51 | 显示全部楼层 |阅读模式
I'm using RH9.0, and the defult language is English.

When I run fcitx in cterm, it shows error message like below:

  fcitx: BadValue (integer parameter out of range for operation)
  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  45 (X_OpenFont)
    Value in failed request:  0x2000003
    Serial number of failed request:  18
    Current serial number in output stream:  19

I've modified the .bashrc file in home directory licke this:
# .bashrc
LC_ALL="zh_CN.GB18030"
export LC_CTYPE
                                                                                
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
                                                                                
                                                                                
# User specific aliases and functions
                                                                                
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

Please help me to resolve this problem, many thanks!
发表于 2007-3-19 21:59:51 | 显示全部楼层
也许是因为没有安装中文字体的原因。
试试先运行(root方式)
localedef -i zh_CN-f GBK zh_CN.gbk
然后再启动X看看
回复 支持 反对

使用道具 举报

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

本版积分规则

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