+ -
当前位置:首页 → 问答吧 → how to set LANG etc

how to set LANG etc

时间:2008-03-29

来源:互联网

I want to use en_us,but in this way,wo cannt use fcitx..In debian,I only set LANG_CTYPE=zh_CN.UTF-8,fcitx works good.how about you?

作者: nblinux   发布时间: 2008-03-29

LC_CTYPE="zh_CN.utf8" is enough

作者: druggo   发布时间: 2008-03-29

我是自己在 /etc/profile.d/ 加了文件设置,不过似乎 /etc/environment 文件也可以。

作者: 晨想   发布时间: 2008-03-30

那我的必须两个都设置了才可以.我想要英文的环境,可以输入中文,中文的文档大开也能看.可以么

作者: nblinux   发布时间: 2008-03-30

英文环境使用fcitx,只需修改/etc/gtk-2.0/gtk.immodules。
引用:
"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh:en"

作者: Second   发布时间: 2008-03-30

我是在/etc/env.d下面建了个50locale,内容是
LANG=en_US.utf8
LC_CTYPE=zh_CN.utf8

作者: swordman   发布时间: 2008-03-30

我的现在能输入了,可是fcitx的面板,and 代选的词语都是数字根子母。。。难受阿
我控制台运行。
root:~# fcitx
Error: Cannot Create Chinese Fonts:
-*-Courier New-medium-r-normal--14-*-*-*-*-*-*-*,-*-*-medium-r-normal--14-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!

Error: Cannot Create Chinese Fonts:
-*-Courier New-medium-r-normal--12-*-*-*-*-*-*-*,-*-*-medium-r-normal--12-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!

Error: Cannot Create Chinese Fonts:
-*-Courier New-medium-r-normal--12-*-*-*-*-*-*-*,-*-*-medium-r-normal--12-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!

作者: nblinux   发布时间: 2008-03-31

难道你没有中文字体? 装一下中文字体,配置一下~/.fcitx/config

作者: swordman   发布时间: 2008-04-01

1, download 文泉驿正黑 from http://downloads.sourceforge.net/wqy...se_mirror=osdn

2, unzip to /usr/share/fonts/

3, run command:
cd /usr/share/fonts/wqy-zenhei-0.5.23/

mkfontdir .
mkfontscale .
fc-cache -fv

ln -sf /usr/share/fonts/wqy-zenhei-0.5.23/44-wqy-zenhei.conf /etc/fonts/local.conf

作者: arli   发布时间: 2008-04-03

热门下载

更多