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>
分享到:
相关推荐
Xshell登陆Ubuntu的中文乱码解决方案.docx
ubuntu rsync中文乱码 window ubuntu rsync同步中文乱码.docx
Ubuntu下QT显示中文乱码问题.docx
1.6万 1.8万 6.9万
Ubuntu13.04解决Chrome的flash中文乱码的问题.docx
解决ubuntu 下文件名乱码总结解决ubuntu 下文件名乱码总结解决ubuntu 下文件名乱码总结
英文版Ubuntu Firefox中文乱码解决方案.docx
本文介绍了解决Ubuntu和Windows的文件乱码问题的方法,希望对你的学习工作有所帮助。
keepass2在Ubuntu 15.10下中文乱码的解决办法.docx
ubuntu mysql中中文乱码问题.docx
Ubuntu修正LibreOffice中文乱码以及eclipse提示框颜色.docx
针对Ubuntu下乱码问题,提出以下解决方案,实测成功。
ubuntu spark中文乱码解决方法.docx
Ubuntu中命令行中文乱码解决方法.docx
Ubuntu下Eclipse中文乱码解决.docx
解决ubuntu下文件中中文乱码问题,解决大家在ubuntu下不能查看中文文档的困扰,让大家很好地使用ubuntu系统完成日常所有所需工作
解决ubuntu下中文乱码问题终版.pdf
主要介绍了ubuntu 服务器中文乱码问题的解决方法,需要的朋友可以参考下
ubuntu 命令行中文乱码问题的解决方法.docx
ubuntu安装Matlab解决显示中文乱码.docx