LinuxSir.cn,穿越时空的Linuxsir!

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

My IME dead again!

[复制链接]
发表于 2003-4-7 17:49:42 | 显示全部楼层 |阅读模式
After upgrading to XFree864.3 just for a cool cursor.My chinese input method died.
They are:
fcitx
xsim
chinput

I have no chioce to install an alternative ,somebody recommand me the CSIM,so I get one.Installtion is OK.But:

WHY ?!
THE SKY OF NEWBIE IS ALWAYS DARK?

Loading simple Config module ...
Creating backend ...
Loading Server module: pinyin ...
    Loading Server Factory 0 ... : OK
pinyin Server module is successfully loaded.
Loading x11-gtk FrontEnd module ...
Starting SCIM ...

(scim:7562): Gdk-WARNING **: locale not supported by Xlib

(scim:7562): Gdk-WARNING **: can not set locale modifiers
 楼主| 发表于 2003-4-7 18:25:51 | 显示全部楼层

哈哈哈,好得意呀!

哈哈哈,好得意呀!
原来问题这么容易就解决了
XFree864.3的local不支持GB18030,但是支持GBK和GB2312,这一点可以通过文件/usr/X11R6/lib/X11/local/local.dir和local.alias这两个文件看出来。
然后执行:
echo $LANG发现
LANG被设置为"zh_CN.gb18030",难怪要说local not supported by Xlib了。
因次只要执行
export LANG="zh_CN.GBK"
就可以搞定了,不过这种方法对SCIM似乎没有作用倒是XSIM马上就可以使用了。
由于每次重起,包括重起X,LANG 的指都会被重新设置,不知道哪位大侠知道如何彻底修改过来,目前只好修改bash_profile了

世上无难事,只要用GOOGLE
GOOGLE万岁!
 楼主| 发表于 2003-4-7 18:55:17 | 显示全部楼层

原来是这个

/etc/sysconfig/i18n
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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