Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-21 Thread Marc Fonvieille
On Thu, Aug 20, 2009 at 07:02:28AM -0600, Warren Block wrote:
> >
> > So you should not run it as root.
> 
> Let me clarify: I did not run it as root until after it didn't work as a 
> normal user.  Or at least I thought I didn't.
> 
> Now, having removed the link in /usr/local/lib/firefox3/plugins and 
> making sure that npwrapper.libflashplayer.so was not present in 
> /usr/local/lib/browser_plugins, nspluginwrapper and Flash as a normal 
> user works.
>

All these Firefox plugins are a big nightmare cause so many parameters
can prevent them to work.  It's a pain :(
But if you find a reliable reason, something that we can repeat, that
prevented the detection of the plugin, please mail me.  I'm interested
in updating the docs on this point.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Warren Block

On Thu, 20 Aug 2009, 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.


Let me clarify: I did not run it as root until after it didn't work as a 
normal user.  Or at least I thought I didn't.


Now, having removed the link in /usr/local/lib/firefox3/plugins and 
making sure that npwrapper.libflashplayer.so was not present in 
/usr/local/lib/browser_plugins, nspluginwrapper and Flash as a normal 
user works.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Marc Fonvieille
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Marc Fonvieille
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.

> Should the Handbook instructions be updated?
>

I don't think it's needed here.

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Tijl Coosemans
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/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-20 Thread Warren Block

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.

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.


Should the Handbook instructions be updated?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Flash10 with 8.0-BETA2 and Firefox 3.5.2

2009-08-19 Thread Warren Block
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?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"