Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 ردود
  • 5 have this problem
  • 5 views
  • آخر ردّ كتبه 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 ?

All Replies (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.

Modified by mghaynes2