Browser plugins

From ArchWiki
Revision as of 15:48, 7 January 2011 by NTia89 (Talk | contribs) (added mozplugger and pdf entry BUT NEED TO REVIEW)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

These plugins work in Firefox, Opera and WebKit derivatives.

Flash Player

Adobe Flash Player

32-bit

Flash Player is in [extra]:

# pacman -S flashplugin

64-bit

Adobe dropped x86_64 support for Flash for version 10.1. You can either install the new 64-bit Template:Package AUR or get the stable 32-bit plugin (with nspluginwrapper) from the [multilib] repository (Install 32bit Flash on a 64bit System).

Misc

In addition, it may be needed to install Template:Package AUR from the AUR in order to properly render text.

If you are using a flashplugin from multilib and still having problems, e.g., fullscreen doesn't work, try to install lib32-your-driver-utils. Here's an example for nvidia card users:

# pacman -S lib32-nvidia-utils

This will replace your driver-utils with the lib32-driver-utils.

Configuration

To change general plug-in preferences (privacy settings, resource usage, etc.), right click on embedded Flash content and choose preferences from the menu, or go to the Macromedia website. There, a Flash animation will give access to local settings.

Gnash

x

Lightspark

x

PDF viewer

Evince

if you want to see a pdf in firefox without open a new window follow this guide: https://wiki.archlinux.org/index.php/Firefox_Tips_and_Tweaks#Viewing_PDF.2FPS_inside_Firefox

Adobe Reader

Due to licensing restrictions, Adobe Reader cannot be distributed from any of the official Arch repositories. There are versions available in the AUR. Please note that no matter how many votes it receives, this package will never be included in the [community] repository. See this comment for an explanation.

Also, there are localizations available in many languages.

32-bit

32-bit AUR package: Template:Package AUR

It installs the Acrobat Reader application as well as the Firefox plugin. Note that hardware-assisted rendering is unavailable under Linux (at least using a Geforce 8600GTS with driver version 185.18.14).

64-bit

Adobe Reader is a closed-source application, meaning that users desiring a 64-bit binary have no other choice other than to wait for official support. Workarounds to be considered:

  • Follow this guide originally posted in the forums. It involves creating a chrooted environment that could be reused for other 32-bit only applications.
  • Or, simply get the 32-bit binary along with the 32-bit dependencies. Install Template:Package AUR. Also, consider installing the extra font packages suggested by the package. Be advised that the Firefox plugin cannot be used directly with this binary -- it will not load in the 64-bit browser. Template:Package AUR is required to load the plugin. Finally, be sure to run:
$ nspluginwrapper -v -a -i

as a normal user. This checks the plugin directory and links the plugins as needed. Everything should work as expected now.

Citrix

See: Citrix

Java

Either Java package contains the Java runtime as well as the fitting browser-plugin.

# pacman -S openjdk6

Or install the proprietary version of Java:

# pacman -S jre

Keep in mind that the open-source and closed-source versions cannot be installed in parallel. The open-source version is nearly perfect at the time of writing and there is mostly no need anymore to install the proprietary version of Java. But if you want to, since firefox v.3.6 does not seem to look in /usr/lib/mozilla/plugins, which is the default location where jre v.1.6.0_22 place the java plugin, just

# cd to ~/mozilla/plugins
# ln -s /opt/java/jre/lib/i386/libnpjp2.so

and it is safe to

# rm -R /usr/lib/mozilla

unless you use it for something else! Be careful here.

Video Plugins

Gecko Media Player

A good replacement of the now obsolete mplayer-plugin is Gecko Media Player. More stable combined with MPlayer 1.0RC2. (No more crashes with Apple Trailers.)

# pacman -S gecko-mediaplayer

Totem Plugin

The Template:Package Official might be the choice for those seeking a gstreamer-based plugin:

# pacman -S totem-plugin

Other

Mozplugger

install it through AUR

Troubleshooting

Adobe Reader fails to run

Note: This problem may not exist anymore.

Due to a missing path one may have to run:

# ln -s /usr/share/Adobe/Reader8/bin/acroread /usr/bin/

Flash blocks sound and/or delayed playback

If sound is delayed within flash video and/or if Flash stops sound from any other application, then:

# vim /etc/rc.conf

Locate the Template:Codeline array and add Template:Codeline to banned modules, which should look like:

MODULES=( !snd-pcm-oss )

No sound in Flash with OSSv4

If you use OSSv4 on x86_64 with the multilib Template:Codeline you should install the Template:Codeline library:

# pacman -S lib32-libflashsupport

No sound in Flash with jack/x86_64/multilib

If you use jack-audio-connection-kit on x86_64 with the multilib Template:Codeline you should install the Template:Codeline from AUR. To make this work you will also need lib32-alsa-plugins, which is not listed as a lib32-libflashsupport-jack dependancy.

# pacman -S lib32-alsa-plugins

Flash performance

Adobe's Flash plugin has some serious performance issues, especially when CPU frequency scaling is used. There seems to be a policy not to use the whole CPU workload, so the frequency scaling governor does not clock the CPU any higher. To work around this issue, see: cpufrequtils#Changing the ondemand governor's threshold

Plugins are installed but not working

A common problem is that the plugin path is unset. This typically occurs on a new install, when the user has not re-logged in before running Firefox after the installation. Test if the path is unset:

echo $MOZ_PLUGIN_PATH

If unset, then either re-login, or source Template:Filename and start Firefox from the same shell:

. /etc/profile.d/mozilla-common.sh && firefox

Gecko Media Player Won't Play Apple Trailers

If Apple Trailers appear to start to play and then fail, try setting the user agent for your browser to:

QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)

Plugins don't show up at all

If they don't show up at all in about:plugins, and pacman -S nspluginwrapper says:

# warning: directory permissions differ on usr/lib/mozilla/
# filesystem: 700  package: 755

Just as superuser 'chmod 755 /usr/bin/mozilla/' so users can read/execute from it.