Flash10 with 8.0-BETA2 and Firefox 3.5.2

Marc Fonvieille blackend at freebsd.org
Thu Aug 20 12:44:29 UTC 2009


On Thu, Aug 20, 2009 at 02:30:41PM +0200, Marc Fonvieille wrote:
> On Thu, Aug 20, 2009 at 06:12:23AM -0600, Warren Block wrote:
> > On Thu, 20 Aug 2009, Tijl Coosemans wrote:
> > 
> > > On Thursday 20 August 2009 03:41:05 Warren Block wrote:
> > >> On 8.0-BETA2 with www/linux-f10-flashplugin10 and www/firefox35
> > >> installed.
> > >>
> > >> As per the Handbook, a soft link in /usr/local/lib/browser_plugins to
> > >> /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so.
> > >> nspluginwrapper -a -i runs normally.
> > >>
> > >> linprocfs mounted, and nspluginwrapper -l shows
> > >> /usr/local/lib/browser_plugins/libflashplayer.so.
> > >>
> > >> But about:plugins shows nothing but the "default plugin".
> > >>
> > >> Is something else necessary?
> > >
> > > I think you ran nspluginwrapper as root. If you run it as a normal
> > > user it puts the wrapped plugin in ~/.mozilla/plugins where Firefox
> > > picks it up. If you run it as root it puts it in
> > > /usr/local/lib/browser_plugins. Firefox 2.x and some other browsers
> > > scan this directory, but newer versions don't for some reason. You have
> > > to create a symlink in /usr/local/lib/firefox3/plugins/ to the
> > > npwrapper plugin in /usr/local/lib/browser_plugins/
> > 
> > That works!
> > 
> > I had first run nspluginwrapper -a -i as normal user, then as root.
> >
> 
> The Handbook says:
> 
> --
> Once the right Flash port, according to the FreeBSD version you run, is
> installed, the plugin must be installed by each user with
> nspluginwrapper:
> 
> % nspluginwrapper -v -a -i
> --
> 
> So you should not run it as root.
> 
> > There is no ~/.mozilla directory for either root or normal user.  But 
> > this is the first machine I've set up where Firefox3.5 was a fresh 
> > install, not an update to a previous version.
> > 
> 
> Here what I did:
> 
> % rm -rf .mozilla
> % nspluginwrapper -l
> 
> % nspluginwrapper -a -i
> % nspluginwrapper -l
> /home/marc/.mozilla/plugins/npwrapper.libflashplayer.so
>   Original plugin: /usr/local/lib/browser_plugins/libflashplayer.so
>   Wrapper version string: 1.2.2
> 
> So even if a $HOME/.mozilla does not exist, it'll be created by
> nspluginwrapper.
>

I forgot to say that

/usr/local/lib/firefox3/plugins/

just contains libnullplugin.so here.

> > Should the Handbook instructions be updated?
> >
> 
> I don't think it's needed here.
> 
> -- 
> Marc

-- 
Marc


More information about the freebsd-questions mailing list