英文版ubuntu的中文(輸入法)設置

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:
  1. copy the font from a windows system to /usr/share/fonts/zh_CN/
  2. 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功能了?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章