搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to override the path to plugins in Firefox 23 for Linux

  • 4 个回答
  • 5 人有此问题
  • 11 次查看
  • 最后回复者为 mghaynes2

more options

On Centos 6.4 Firefox 23 looks for plugins under:

 /usr/lib/mozilla/plugins

and

 /usr/lib64/mozilla/plugins

I tried setting MOZ_PLUGIN_PATH but that didn't seem to work. Is there a way to have Firefox search for plugins in some other directory before searching in the default ones ?

On Centos 6.4 Firefox 23 looks for plugins under: /usr/lib/mozilla/plugins and /usr/lib64/mozilla/plugins I tried setting MOZ_PLUGIN_PATH but that didn't seem to work. Is there a way to have Firefox search for plugins in some other directory before searching in the default ones ?

所有回复 (4)

more options

Hello zioerr, see if the next is helpful : http://kb.mozillazine.org/Determining_plugin_directory_on_Linux


thank you

more options

选择的解决方案

more options

Thanks. It seems like it all depends on how Firefox was built.

Seems like the binaries (23.0.1) for Linux found on the mozilla.org website don't search for plugins under ~/.mozilla/plugins or the path defined by the env MOZ_PLUGIN_PATH.

I decided to build Firefox from source just to give it a try and now I can use either method to override the path to plugins.

more options

Mike Kaply explains that some aspects of plugin search path are runtime configurable via "about:config"; though the settings he describes are not present in my build - Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0).

http://mike.kaply.com/2012/02/16/how-.../how-firefox-loads-plugins/

In my case I needed to run a 32 bit build on amd64 linux ubuntu.

I wanted to avoid setting the global plugin path under /usr/lib/mozilla/plugins by creating a symlink under the application directory to the 32 bit JRE. I had configured Ubuntu's 'alternatives' framework for both 64 and 32 bit plugins but auto selection wasn't working in this case.

The application directory override seemed to work under version 23 but after upgrade to v.24 the 32 bit java plugin was not being discovered.

I was able to fix this problem by enabling the about:config setting - plugins.load_appdir_plugins - which for my install had been defaulted to 'false' by the build.

It shouldn't be this difficult. Disabling the well described plugin search paths under the user home and app directory is certainly going to cause major heartache to many users.

由mghaynes2于修改