您的位置:首页 > 运维架构 > Linux

〖Linux〗Ubuntu13.04解决Chrome的flash中文乱码的问题。

2013-09-21 19:36 751 查看
1. 安装flash

sudo aptitude install flashplugin-installer


2. 禁用chrome自带的flash插件

  在chrome浏览器中输入 chrome://plugins/

  点击右上角的“详细信息”,找到含有以下信息的插件并禁用

位置:    /opt/google/chrome/PepperFlash/libpepflashplayer.so


3. 修改字体设置,gvim /etc/fonts/conf.d/49-sansserif.conf,把内容修改为如下:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>文泉驿正黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>文泉驿正黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>文泉驿正黑</string>
</test>
<edit name="family" mode="append_last">
<string>文泉驿正黑</string>
</edit>
</match>
</fontconfig>


4. 关闭浏览器,注销当前用户登录,重新打开浏览器,即可生效。

其他参考:http://bulo.hujiang.com/u/18910610/diary/280382/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: