您的位置:首页 > 其它

英文版ubuntu的中文(输入法)设置

2008-05-13 22:56 295 查看
Chinese language support in ubuntu

what I have done For ubuntu 8.04:

1 .system->administration->language support: chinese
2.install fonts: here and hear for install new fonts,

I have ONLY do these steps:

copy the font from a windows system to /usr/share/fonts/zh_CN/

sudo mkfontscale
sudo mkfontdir
sudo fc-cache

3.setup locale: 英语环境下怎样开启fcitx?
首先
代码:
sudo locale-gen zh_CN.UTF-8
and I have done something extra:
sudo locale-gen zh_CN.GBK

然后打开/etc/environment,加入一行:
代码:
LC_CTYPE=zh_CN.UTF-8
,重启X,按Ctrl+空格键即可.

then the fonts are installed properly

4. sudo apt-get install fcitx
5. im-switch -s fcitx

now fcitx could be invoked, but the interface of fcitx in weired charecters(乱码)

6. fix the problem, according to 解决 fcitx 状态条中汉字显示为方框

change the second line of ~/.fctix to :
ÏÔÊŸ×ÖÌå(ÖÐ)=stsong
ÏÔÊŸ×ÖÌå(Ó¢)=Courier New

7. locale in theory:
关于locale的设定,为什么要设定locale
将 locale 从 zh_CN.GB2312 转到 zh_CN.UTF-8 的一些问题和解决方法

command:
iconv - Convert encoding of given files from one encoding to another
im-switch

CSDN blog 没有tag功能了?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: