zoukankan      html  css  js  c++  java
  • 〖Linux〗Ubuntu13.04解决Chrome的flash中文乱码的问题。

    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/

  • 相关阅读:
    pat甲级1013
    二分查找
    pat甲级1012
    win10 + Ubuntu16.04双系统安装
    win10 U盘重装
    win10蓝牙添加设备无法连接
    Android自定义控件总结
    11.粘性控件
    10.侧拉删除
    9.视差特效、回弹动画、overScrollBy
  • 原文地址:https://www.cnblogs.com/scue/p/3331957.html
Copyright © 2011-2022 走看看