LinuxSir.cn,穿越时空的Linuxsir!

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

可不可以在英文locale下使用中文输入法?

[复制链接]
发表于 2003-9-17 19:02:28 | 显示全部楼层 |阅读模式
因为我比较喜欢英文界面。
在windows里即使是英文版本的,也可以用中文输入的阿
发表于 2003-9-17 22:49:39 | 显示全部楼层

我的作法

debian linux, kernel 2.4, gnome 2.2. 系统的缺省locale是en_CA.ISO8859-1,这样公司的其他人在需要的时候,也可以登陆进来。我在我的home directory里作了一个.chinese文件(如下),可以帮我把locale设成中文,在起动gaim,mozilla和stardic(基本上,我只需要在这几个应用中用中文)。登陆后,打开Terminal,运行. .chinese,that's it.

希望对你有帮助。


.chinese文件内容:

export LC_CTYPE=zh_CN.GB2312
export LANG=zh_CN.GB2312
export LANGUAGE=zh_CN.GB2312

export XMODIFIERS=``@im=fcitx''

stty cs8 -istrip
stty pass8

fcitx &
gaim &
/usr/local/mozilla/mozilla &
stardic &
 楼主| 发表于 2003-9-18 16:26:38 | 显示全部楼层

no use,sigh

i have do what you have said ,but i can't use fcitx yet.
the icon of ficitx have appeared in my screen, but ctrl+space can not active the
PingYin input.
 楼主| 发表于 2003-9-18 16:50:36 | 显示全部楼层

搞定了:)

我改成这样就可以了
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
export XMODIFIERS=@im=fcitx
                                                                                
stty cs8 -istrip
stty pass8
                                                                                
fcitx &
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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