有些英文系统没有安装中文字体,打开一些中文界面就会显示方格数字,解决办法就是装中文字体
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

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...".
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