Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2009 14:36:03 +0200
From:      Marc Fonvieille <blackend@freebsd.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2
Message-ID:  <20090820123603.GB1239@gothic.blackend.org>
In-Reply-To: <20090820123041.GA1239@gothic.blackend.org>
References:  <alpine.BSF.2.00.0908191933390.67503@wonkity.com> <200908201343.07634.tijl@ulyssis.org> <alpine.BSF.2.00.0908200602180.69825@wonkity.com> <20090820123041.GA1239@gothic.blackend.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090820123603.GB1239>