Debian 5 x-window 安装及汉化
2010-07-09 16:01
375 查看
Debian最小安装,默认语言编码en_US.UTF-8。
# apt-get install x-window-system-core
# apt-get install gnome-core
# Xorg -configure
将自动生成的xorg.conf.new改名后复制到/etc/X11,覆盖原有的xorg.conf。
# cp xorg.conf.new /etc/X11/xorg.conf
如果已经安装locale,则跳过。
# apt-get install locales
# dpkg-reconfigure locales
选上zh_CN.UTF-8或者zh_CN.GBK。
# locale -a
# cd /usr/share/fonts/truetype/
# mkdir msyh
# cd msyh
# cp /YaHei.Consolas.1.11b.ttf .
X环境中,只要将字体放到合适的目录,fontconfig会自动管理。
1、将字体放到正确的位置。例如,/usr/share/fonts/truetype/。
2、不同类的字体放到不同的文件夹。这点很关键!!!例如,simsun.ttf放到simsun,msyh.ttf和msyhbd.ttf放到yahei。
# vi /etc/X11/xinit/xinitrc
增加下面内容
LANGUAGE=zh_CN.UTF-8
LANG=zh_CN.UTF-8
LC_ALL=zh_CN.UTF-8
export LANGUAGE LANG LC_ALL
重启X。
雅黑字体和Consolas的混合字体效果非常不错。
# apt-get install x-window-system-core
# apt-get install gnome-core
# Xorg -configure
将自动生成的xorg.conf.new改名后复制到/etc/X11,覆盖原有的xorg.conf。
# cp xorg.conf.new /etc/X11/xorg.conf
如果已经安装locale,则跳过。
# apt-get install locales
# dpkg-reconfigure locales
选上zh_CN.UTF-8或者zh_CN.GBK。
# locale -a
# cd /usr/share/fonts/truetype/
# mkdir msyh
# cd msyh
# cp /YaHei.Consolas.1.11b.ttf .
X环境中,只要将字体放到合适的目录,fontconfig会自动管理。
1、将字体放到正确的位置。例如,/usr/share/fonts/truetype/。
2、不同类的字体放到不同的文件夹。这点很关键!!!例如,simsun.ttf放到simsun,msyh.ttf和msyhbd.ttf放到yahei。
# vi /etc/X11/xinit/xinitrc
增加下面内容
LANGUAGE=zh_CN.UTF-8
LANG=zh_CN.UTF-8
LC_ALL=zh_CN.UTF-8
export LANGUAGE LANG LC_ALL
重启X。
雅黑字体和Consolas的混合字体效果非常不错。
相关文章推荐
- Window 下U盘安装 Debian
- Adempiere配置安装和汉化(Window 7 && Postgres SQL && ubuntu 12.04lts)【一】
- debian gimp的中文化,汉化安装
- Debian下安装x-window
- ERDAS 2014安装破解及汉化图文教程
- Centos下安装X Window+GNOME Desktop+FreeNX
- 在DEBIAN STRETCH WITH RASPBERRY PI DESKTOP中安装中文输入法
- MYSQL 5.0.19在Debian下手工安装备忘
- phonopy 在window下的安装
- Debian包安装Elasticsearch5.0
- [转] linux(debian)安装USB无线网卡(tp-link TL-WN725N rtl8188eu )
- window安装python库
- Window 2008 安装第二台DNS Server
- window无法安装服务
- debian amd64上编译安装firefox 3.5.5
- Debian环境——ZooKeeper集群安装配置
- window安装python,ipython,pycharm
- GPT分区安装ubuntu14.04和Window10双系统
- Debian 8 安装 golang
- 在Debian9(linux)上使用 的 python 3 IDLE(已经安装了python 2.7 的情况下)