ubuntu flash中文乱码的解决方法
[ 2009/04/26 14:31 | by ipaddr ]
ubuntu装好之后, 为浏览器firefox安装flash插件, 后来发现中文会变成方框。
如何解决?
输入:
cd /etc/fonts/conf.d/
为了安全,备份一下:
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
输入如下指令:
sudo gedit ./49-sansserif.conf
此时文件显示内容。
将其中的第1、2、4个后面的sans-serif或者serif用你自己系统中支持中文的字体的名字代替,注意字体名字的大小写
比如:我的系统中安装了wqy-zenhei.ttf,我则用wqy-zenhei代替上述所说的字段,结果如下:
<match target=”pattern”>
<test qual=”all” name=”family” compare=”not_eq”>
<string>wqy-zenhei</string>
</test>
<test qual=”all” name=”family” compare=”not_eq”>
<string>wqy-zenhei</string>
</test>
<test qual=”all” name=”family” compare=”not_eq”>
<string>monospace</string>
</test>
<edit name=”family” mode=”append_last”>
<string>wqy-zenhei</string>
</edit>
</match>
Ubuntu9.04的CN99源
[ 2009/04/26 14:25 | by ipaddr ]
刚试了一下Ubuntu9.04,感觉不错,以下是CN99的源,速度非常快:
deb http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
鱼漂注: 现在的CN99好象是网易在提供服务。
>>>>>>>>>>>>>>>>
deb http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
鱼漂注: 现在的CN99好象是网易在提供服务。
>>>>>>>>>>>>>>>>