Skip navigation

Sign up | Lost password? | Help

Chaos Sanctuary

Simplicity is divine.

Posts tagged with "配置"

升级到了ubuntu 6.10 Edgy Eft

, , , ...

过程还算比较顺利,以往遇到的怪问题都没有了。

更新源:
sudo gedit /etc/apt/sources.list


我使用的源还是cn99的:

deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy main restricted

deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main multiverse restricted universe
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse



升级,然后安装输入法:
sudo apt-get install scim-pinyin im-switch
sudo fontconfig-voodoo -s zh_CN -f 
im-switch -s scim_xim -z  default 


复制字体到目录:
sudo cp *.ttf /usr/share/fonts/truetype
sudo chmod 644 /usr/share/fonts/truetype/*.ttf


刷新字体缓存:
sudo fc-cache -f -v


建立字体连接,修改优先配置:
sudo fontconfig-voodoo -s -f zh_CN
sudo gedit /etc/fonts/language-selector.conf


在配置文件中增加对应的中文字体项:

<family>STHeiti</family>


保存后可以再次刷新字体缓存。
November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30