Plugins Flash et Adobe Acrobat pour le navigateur (Français)
From ArchWiki
i18n |
---|
English |
简体中文 |
Español |
Français |
Contents |
Mise à jour des informations pour de nouvelles installations ! Utilisez les informations de cette section
Plugins Flash et Java
Pour installer le lecteur Flash et Java, et pouvoir l'utiliser
# pacman -S flashplugin jre
Ca devrait marcher !
Note: Vous devriez avoir installer ttf-ms-fonts (pacman -S ttf-ms-fonts
) pour le flashplayer to render text properly.
Note pour Arch64: j2re ne narchera pas sur votre navigateur - à ce jour (9 Dec 2008), il n'y a toujours pas de support pour les applets java pour jre-64... Regarder sur http://java.com/en/download/manual.jsp#note (En)
Dépannage
Si les puglins ne marchent pas partout sur firefox changer les permissions de /usr/lib/mozilla. Dans mon cas seulement le root était autorisé a lire les fichiers.
$ cd /usr/lib/mozilla cd: permission denied: /usr/lib/mozilla
# chmod 755 /usr/lib/mozilla # chmod 755 /usr/lib/mozilla/extensions
OSS
Si vous utilisez OSS, le son risque de ne pas marcher avec les videos Flash (mais les videos seront toujours jouées) vous allez avoir besoin de télécharger libflashsupport
# pacman -S libflashsupport
This gives OSS support for the Flash plugin; no restarts, even of Firefox are necessary once the library is installed.
Configuration
To change your general plugin preferences (especially the privacy settings), you have to go to the Macromedia website. There a flash animation will give you access to your local settings.
Adobe Reader
Due to licensing restrictions, Adobe Reader cannot be distributed from any of the normal Arch repos. There is a version available on the AUR here. If you use yaourt, run:
# yaourt -S --aur acroread
There are localisations available in many languages, check the AUR for your language.
$ yaourt -Ss --aur acroread-
Due to a missing PATH you have to run:
$ ln -s /usr/share/Adobe/Reader8/bin/acroread /usr/bin
Please note that no matter how many votes it receives, this package will never be included in the community repo. See comment by Snowman here.
Fixing Flash in Konqueror
# pacman -S kmplayer
Run kmplayer to make sure it creates a config file and then close kmplayer. Open "~/.kde/share/config/kmplayerrc" (or "~/.kde4/share/config/kmplayerrc" if you use KDE4's konqueror) with a text editor of your choice and add this to the ending:
[application/x-shockwave-flash] player=npp plugin=/usr/lib/mozilla/plugins/libflashplayer.so
Check the plugin line if it is correct by doing:
$ slocate libflashplayer.so
If it is not correct then change it to the correct filepath. Open Konqueror and go to Settings > Configure Konqueror > File Associations, navigate to "application/x-shockwave-flash" and click on the "Embedding" tab and click "Add.." and select "Embedded MPlayer for KDE" and click "Ok". Make sure "Embedded MPlayer for KDE" is on the top. Click "Ok". Now it should work, if it doesn't you might have to restart konqueror and/or KDE.
Reference: http://mikearthur.co.uk/?p=171
Old information for reference on old installations... Or whatever (OUTDATED)
Using Mozilla
For Adobe Acrobat Reader plugin
# pacman -S acroread # ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/mozilla/plugins/
For Shockwave Flash
# pacman -S flashplugin # ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/mozilla/plugins/ # ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/mozilla/plugins/
Restart Mozilla if it was running.
Note: Flash is known to have bad support for Linux. Flash Player 7 has problems regarding sound output with a lot of people. Flash versions older than 10 have bad PulseAudio support.
There is a GNU project going on (Gnash) that should be an open source alternative for showing Flash. As of 17 may 2006 it is still in development, but it is already able to run a lot of Flash 7 content.
Using Mozilla Firefox
For Adobe Acrobat Reader plugin
# pacman -S acroread # ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/firefox/plugins/
Note: acroread has been moved to the AUR. Use yaourt, or download from Adobe (instructions: [1]).
Note: the second (ln -s) step above may be unnecessary.
For Shockwave Flash
# pacman -S flashplugin ttf-ms-fonts # ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/firefox/plugins/ # ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/firefox/plugins/
Note: Flash is known to have bad support for Linux. Flash Player 7 has problems regarding sound output with a lot of people. Flash versions older than 10 have bad PulseAudio support.
Note: Also works with Firefox3; replace /opt/mozilla/lib/firefox/plugins
with /opt/mozilla/lib/firefox-3.0/plugins
There is a GNU project going on (Gnash) that should be an open source alternative for showing Flash. As of 17 may 2006 it is still in development, but it is already able to run a lot of Flash 7 content.
Alternate way
Visit http://www.adobe.com/products/flashplayer/ and download the Adobe Flash player .tar.gz file. Unpack it and execute the flashplayer-installer as root.
# ./flashplayer-installer
The script will ask for location of the browser. For Firefox, enter
/usr/lib/firefox
Note that the target directory must contain a directory called plugins in order for the offical installer to work. An invalid install path error can be solved by executing
mkdir /usr/lib/firefox/plugins
Restart Firefox. Repeat for any browsers installed.
For Java Plugin
# pacman -S jre # ln -s /opt/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/
(For me it's: ln -s /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/
, note the missing gcc29)
Use the Tab key to navigate easier through the directories.