1.在网站 http://get.adobe.com/flashplayer/ 下载install_flash_player_10_linux.tar.gz。
2.解压: tar -vzxf ./install_flash_player_10_linux.tar.gz -C /tmp
3.将动态库移至相应目录下: sudo mv /tmp/libflashplayer.so /usr/lib/firefox-3.0.8/plugins/
4.删除字体配置文件: sudo rm /etc/fonts/conf.d/49- sansserif.conf
或者:
编辑 /etc/fonts/conf.d 下面的 49-sansserif.conf 文件
①. sudo gedit /etc/fonts/conf.d/49-sansserif.conf
②.
<?xml version="1.0" ?>
1
<?
xml version="1.0"
?>
2 <! DOCTYPE fontconfig SYSTEM "fonts.dtd" >
3 < fontconfig >
4 <!--
5 If the font still has no generic name, add sans-serif
6 -->
7 < match target ="pattern" >
8 < test qual ="all" name ="family" compare ="not_eq" >
9 < string > sans-serif </ string >
10 </ test >
11 < test qual ="all" name ="family" compare ="not_eq" >
12 < string > serif </ string >
13 </ test >
14 < test qual ="all" name ="family" compare ="not_eq" >
15 < string > monospace </ string >
16 </ test >
17 < edit name ="family" mode ="append_last" >
18 < string > sans-serif </ string >
19 </ edit >
20 </ match >
21 </ fontconfig >
2 <! DOCTYPE fontconfig SYSTEM "fonts.dtd" >
3 < fontconfig >
4 <!--
5 If the font still has no generic name, add sans-serif
6 -->
7 < match target ="pattern" >
8 < test qual ="all" name ="family" compare ="not_eq" >
9 < string > sans-serif </ string >
10 </ test >
11 < test qual ="all" name ="family" compare ="not_eq" >
12 < string > serif </ string >
13 </ test >
14 < test qual ="all" name ="family" compare ="not_eq" >
15 < string > monospace </ string >
16 </ test >
17 < edit name ="family" mode ="append_last" >
18 < string > sans-serif </ string >
19 </ edit >
20 </ match >
21 </ fontconfig >
把将第18行的sans-serif改成sans就可以了或用自己喜欢的字体代替
5.重启Firefox即可。
方法二:
让Firefox自动检测到flash插件安装。