阅读:2929回复:4
怎样让firefox使用iceweasel的插件?
我的系统是debian amd64, 安装的iceweasel(版本3.0.6)已经有flash插件和其他多种播放器插件,可以使用。
又新下载了firefox3.6,但是没有插件,而在为64位系统安装flash插件比较麻烦, 所以我想让firefox利用iceweasel所使用的插件。 先在iceweasel中用about:plugins查看插件的路径,再把这些.so文件拷贝到firefox的插件目录下,但是没有作用. firefox的插件目录我试了firefox目录下的 plugins目录,不管用; 又在 ~/.firefox目录下新建一个plugins目录,把.so文件拷贝进去,也没有用。 (~/.firefox是profile目录) 让firefox使用icewease的profile目录(~/.mozilla),失败。 有什么好方法吗? |
|
1楼#
发布于:2009-11-20 13:12
系统/etc目录下没有与插件有关的mozilla文件
我用下面的命令运行解压目录中的firefox: ./firefox -profile ~/.firefox 然后在地址栏中输入: about:plugins 显示只有一个缺省插件: ~/.firefox/plugins/libnullplugin.so 说明插件是在~/.firefox/plugins目录中的。 但是把.so拷贝到这个目录中,firefox并不认识,我想可能还需要向firefox注册? iceweasel的插件也分布在多个目录中,不知是什么机制。 |
|
2楼#
发布于:2009-11-20 13:12
我找到了profile目录下一个文件pluginreg.dat和插件有关,比如,在iceweasel的该文件中有下面一段,插件中就有picasa
/opt/google/picasa/3.0/lib/npPicasa3.so:$ :$ 1226106226000:1:5:$ Picasa plugin:$ Picasa:$ 1 0:application/x-picasa-detect:3.0:pinstall:$ 我把这一段拷贝到firefox的该文件中,一启动firefox这个文件就被覆盖了,还是不能注册插件。 |
|