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. 關閉瀏覽器,注銷當前用戶登錄,重新打開瀏覽器,即可生效。