天天看點

centos 安裝中文字型和中文輸入法 CentOS 6 CentOS 5

有些英文系統沒有安裝中文字型,打開一些中文界面就會顯示方格數字,解決辦法就是裝中文字型

1.中文字型

1.下載下傳字型 simsun.ttc或者從windows系統中copy一些字型  (http://download.csdn.net/detail/huang_baohua/7312687)
  2.執行指令 cp simsun.ttc /usr/share/fonts/simsun.ttc
  3.執行指令 mkfontscale
  4.執行指令 mkfontdir
  5.執行指令 fc-cache      

ok...

2.中文輸入法:

CentOS   Install IBus on CentOS 

Featured,  Phase-Deploy Updated  Oct 13, 2012 by  [email protected]

  • CentOS 6
  • CentOS 5

CentOS 6

1. Install necessary packages:

yum install ibus ibus-gtk ibus-qt
yum install ibus-pinyin # or other engine(s) you want
yum install im-chooser       

2. Enable input method feature

In GNOME dekstop, System => Preferences => Input Method

Alternatively, run the following command as non-root user in terminal:

im-chooser      
centos 安裝中文字型和中文輸入法 CentOS 6 CentOS 5

In the poped up dialog, check "Enable input method feature".

Make sure that "Use IBus" is highlighted.

3. Add input methods

Click "Input Method Preferences...".

centos 安裝中文字型和中文輸入法 CentOS 6 CentOS 5

In the poped up "IBus Preferences" dialog, go to the "Input Method" tab and add input methods you need.

4. Logout, Re-login and Enjoy!

:)

CentOS 5

Please use system provided SCIM.

原文章位址:https://code.google.com/p/ibus/wiki/CentOS