Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 4 trả lời
  • 5 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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 ?

Tất cả các câu trả lời (4)

more options

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


thank you

more options

Giải pháp được chọn

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.

Được chỉnh sửa bởi mghaynes2 vào