Plugins - Flash and other
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Plugins - Flash and other
Installed nice everything on Linux Mint maya,
except plugins.
Tryed all from wiki instructions but still nothing.
Reainstalled flash also nothing.
Can someone please explain where to copy plugin fies, and clear instruction ?
My Palemoon folder is in opt/palemoon
PS
Great browser, thanks for linux support.
except plugins.
Tryed all from wiki instructions but still nothing.
Reainstalled flash also nothing.
Can someone please explain where to copy plugin fies, and clear instruction ?
My Palemoon folder is in opt/palemoon
PS
Great browser, thanks for linux support.
Re: Plugins - Flash and other
You should put Flash Player's libflashplayer.so in /usr/lib/mozilla/plugins and check the permissions. They should be readable by all users.
Last edited by access2godzilla on 2014-04-08, 09:51, edited 2 times in total.
Reason: Correction
Reason: Correction
Re: Plugins - Flash and other
Solved.
Reainstalled and it worked, all plugins from firefof.
Anyway I disabled most of them
Thanks
Reainstalled and it worked, all plugins from firefof.
Anyway I disabled most of them
Thanks
Re: Plugins - Flash and other
Technically, /usr/lib/mozilla/plugins doesn't seem to solve it for x86_64. The correct path is /usr/lib64/mozilla/plugins and the files are already there on my system, but pm4linux doesn't see them in that path:
Is there some configuration that I should change? I just installed pm4linux and am still in the process of configuring and migrating.
Code: Select all
$ ls /usr/lib*/mozilla/plugins
/usr/lib64/mozilla/plugins:
libflashplayer.so libtotem-cone-plugin.so
libgnome-shell-browser-plugin.so libtotem-gmp-plugin.so
libjavaplugin.so libtotem-mully-plugin.so
librhythmbox-itms-detection-plugin.so libtotem-narrowspace-plugin.so
/usr/lib/mozilla/plugins:
Re: Plugins - Flash and other
Not on my system (Debian based):LReznick wrote:Technically, /usr/lib/mozilla/plugins doesn't seem to solve it for x86_64. The correct path is /usr/lib64/mozilla/plugins
Code: Select all
a2g@antiX1:~$ uname -a
Linux antiX1 3.7.10-antix.4-amd64-smp #1 SMP Tue Jun 18 17:18:59 EEST 2013 x86_64 GNU/Linux
a2g@antiX1:~$ ls -l /usr/lib/mozilla/plugins/
total 540
lrwxrwxrwx 1 root root 34 Jun 16 2013 flash-mozilla.so -> /etc/alternatives/flash-mozilla.so
-rw-r--r-- 1 root root 106688 May 3 2012 gecko-mediaplayer-dvx.so
-rw-r--r-- 1 root root 106688 May 3 2012 gecko-mediaplayer-qt.so
-rw-r--r-- 1 root root 106688 May 3 2012 gecko-mediaplayer-rm.so
-rw-r--r-- 1 root root 106688 May 3 2012 gecko-mediaplayer.so
-rw-r--r-- 1 root root 106688 May 3 2012 gecko-mediaplayer-wmp.so
a2g@antiX1:~$ readlink -e /etc/alternatives/flash-mozilla.so
/usr/lib/flashplugin-nonfree/libflashplayer.so
a2g@antiX1:~$ file /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
- The version of Flash you've installed is 64 and not 32 bit?
- The permissions are correct (i.e. everyone can read the libflashplayer.so file)?
As a last resort, try:
Code: Select all
export MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins
palemoon
Re: Plugins - Flash and other
Well, I wasn't expecting to play Distro Wars with you. Yes, the Flash version is 64-bit. Everybody can read it. However, /etc/alternatives has nothing for *flash* in it, and there is no MOZ_PLUGIN_PATH currently defined, yet Firefox finds it just fine and Pale Moon is based on Mozilla so I was surprised that Pale Moon didn't find it.access2godzilla wrote:Not on my system (Debian based):LReznick wrote:Technically, /usr/lib/mozilla/plugins doesn't seem to solve it for x86_64. The correct path is /usr/lib64/mozilla/pluginsSo it seems you're a Fedora user. Have you made sure that:Code: Select all
a2g@antiX1:~$ uname -a Linux antiX1 3.7.10-antix.4-amd64-smp #1 SMP Tue Jun 18 17:18:59 EEST 2013 x86_64 GNU/Linux [...] a2g@antiX1:~$ readlink -e /etc/alternatives/flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so a2g@antiX1:~$ file /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/flashplugin-nonfree/libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
- The version of Flash you've installed is 64 and not 32 bit?
- The permissions are correct (i.e. everyone can read the libflashplayer.so file)?
As a last resort, try:Code: Select all
export MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins palemoon
Code: Select all
$ uname -a
Linux pimpernel 3.13.8-200.fc20.x86_64 #1 SMP Tue Apr 1 03:35:46 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ file /usr/lib*/mozilla/plugins/*
/usr/lib64/mozilla/plugins/libflashplayer.so: symbolic link to `/usr/lib64/flash-plugin/libflashplayer.so'
/usr/lib64/mozilla/plugins/libgnome-shell-browser-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=bd114a4219b4ed8db0547beb48b5ce755fab0d1b, stripped
/usr/lib64/mozilla/plugins/libjavaplugin.so: symbolic link to `/etc/alternatives/libjavaplugin.so.x86_64'
/usr/lib64/mozilla/plugins/librhythmbox-itms-detection-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e80515da9ba636d2a0dff755c1437b78d2ca566b, stripped
/usr/lib64/mozilla/plugins/libtotem-cone-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c67d255f275dbdb65153d93f90760c256670401b, stripped
/usr/lib64/mozilla/plugins/libtotem-gmp-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c2a6d1d05d4819e48d5323c10738dd2e58600d84, stripped
/usr/lib64/mozilla/plugins/libtotem-mully-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=09eaa52f283e6de6e761f5e60dffd61b9abae901, stripped
/usr/lib64/mozilla/plugins/libtotem-narrowspace-plugin.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=abe7c9104c81698b80c3a5c261bdc0b63024aa86, stripped
$ file /usr/lib*/flash-plugin/*
/usr/lib64/flash-plugin/homecleanup: POSIX shell script, ASCII text executable
/usr/lib64/flash-plugin/libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/usr/lib64/flash-plugin/LICENSE: UTF-8 Unicode text
/usr/lib64/flash-plugin/README: ASCII text
/usr/lib64/flash-plugin/setup: Bourne-Again shell script, ASCII text executable
$ ls -ohH /usr/lib*/mozilla/plugins/libflashplayer.*
-rwxr-xr-x. 1 root 19M Feb 25 09:00 /usr/lib64/mozilla/plugins/libflashplayer.so
Re: Plugins - Flash and other
First of all, is this a Firefox version from the repos? If so, it may have been compiled with extra parameters/code that specifically enable this.
FF builds by Mozilla do have this problem. It isn't PM specific. For example,
https://support.mozilla.org/en-US/questions/985662
FF builds by Mozilla do have this problem. It isn't PM specific. For example,
https://support.mozilla.org/en-US/questions/985662
Re: Plugins - Flash and other
Yep, straight from the Fedora system repo:access2godzilla wrote:First of all, is this a Firefox version from the repos? If so, it may have been compiled with extra parameters/code that specifically enable this.
Code: Select all
$ rpm -q firefox
firefox-28.0-3.fc20.x86_64
# dnf info 'firefox'
Installed Packages
Name : firefox
Arch : x86_64
Epoch : 0
Version : 28.0
Release : 3.fc20
Size : 91 M
Repo : @System
From repo : updates
Summary : Mozilla Firefox Web browser
URL : http://www.mozilla.org/projects/firefox/
License : MPLv1.1 or GPLv2+ or LGPLv2+
Description : Mozilla Firefox is an open-source web browser, designed for
: standards compliance, performance and portability.
Interesting. Looks like that problem was a 32 vs 64 mixture. In my case PM is not trying the lib64 dir when not found in the lib dir.access2godzilla wrote:FF builds by Mozilla do have this problem. It isn't PM specific. For example,
https://support.mozilla.org/en-US/questions/985662
I found out that Firefox does it in their startup script:
Code: Select all
MOZ_ARCH=$(uname -m)
case $MOZ_ARCH in
x86_64 | s390x | sparc64)
MOZ_LIB_DIR="/usr/lib64"
SECONDARY_LIB_DIR="/usr/lib"
;;
* )
MOZ_LIB_DIR="/usr/lib"
SECONDARY_LIB_DIR="/usr/lib64"
;;
esac
When compiling code for system installations I set special library tree names in /etc/ld.so.conf.d/*.conf files. I don't trust using LD_LIBRARY_PATH because people can change that too easily. Such installation scripts simply put the relevant file in place. Obviously, that's for compiling and running compiled code, different from this problem, but that leads me to /etc/alternatives. I could try the MOZ_PLUGIN_PATH you suggested before, but I noticed /etc/alternatives has the following:
Code: Select all
$ ls -oh /etc/alternatives/*.so*
lrwxrwxrwx. 1 root 27 Feb 9 13:03 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib64/IcedTeaPlugin.so
lrwxrwxrwx. 1 root 34 Apr 1 08:24 /etc/alternatives/libnssckbi.so.x86_64 -> /usr/lib64/pkcs11/p11-kit-trust.so
Re: Plugins - Flash and other
[quote=""LReznick"]So, do you recommend I set such a symlink?[/quote]
You can use the alternatives system if you want to, but then, it doesn't resolve the problem at hand -- PM doesn't read the /usr/lib64/mozilla/plugins folder.
/usr/bin/palemoon
This will become part of the pminstaller tool in the next release, due tomorrow.
You can use the alternatives system if you want to, but then, it doesn't resolve the problem at hand -- PM doesn't read the /usr/lib64/mozilla/plugins folder.
I'd set up things in this way:LReznick wrote:Or, is there a better solution, especially one that survives future upgrades of the system?
/usr/bin/palemoon
Code: Select all
#!/bin/sh
PM_PLUGIN_PATH="/usr/lib64/mozilla/plugins"
if [ -z "$MOZ_PLUGIN_PATH" ]; then
export MOZ_PLUGIN_PATH="$PM_PLUGIN_PATH"
else
export MOZ_PLUGIN_PATH="$MOZ_PLUGIN_PATH:$PM_PLUGIN_PATH"
fi
exec /opt/palemoon/palemoon "$@"
Last edited by access2godzilla on 2014-04-16, 06:56, edited 2 times in total.
Reason: make the solution a bit better
Reason: make the solution a bit better
Re: Plugins - Flash and other
Done. Works now. Thanks for your help!access2godzilla wrote:I'd set up things in this way:LReznick wrote:Or, is there a better solution, especially one that survives future upgrades of the system?
/usr/bin/palemoonThis will become part of the pminstaller tool in the next release, due tomorrow.Code: Select all
#!/bin/sh PM_PLUGIN_PATH="/usr/lib64/mozilla/plugins" if [ -z "$MOZ_PLUGIN_PATH" ]; then export MOZ_PLUGIN_PATH="$PM_PLUGIN_PATH" else export MOZ_PLUGIN_PATH="$MOZ_PLUGIN_PATH:$PM_PLUGIN_PATH" fi exec /opt/palemoon/palemoon "$@"
Re: Plugins - Flash and other
I've the Same Problem, but the script dosn't solved it. Opensuse 13.1 x64. Firefox has all the plugins and about:plugins in PM shows nothing.
Please help...
Please help...
Re: Plugins - Flash and other
Although I did recommend setting up things in that manner, it would be better if you put that in /etc/profile.
You need to check where the path of the plugins are. Did you check the file paths for the corresponding packages?
You need to check where the path of the plugins are. Did you check the file paths for the corresponding packages?