〖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/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM