From owner-freebsd-questions@FreeBSD.ORG Thu Aug 20 12:44:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9DFB106568C for ; Thu, 20 Aug 2009 12:44:29 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0C94A8FC7E for ; Thu, 20 Aug 2009 12:44:28 +0000 (UTC) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n7KCZ40B087237; Thu, 20 Aug 2009 14:35:05 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.3/8.14.3) with ESMTP id n7KCa3Rp059223; Thu, 20 Aug 2009 14:36:03 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.3/8.14.3/Submit) id n7KCa3Mh059222; Thu, 20 Aug 2009 14:36:03 +0200 (CEST) (envelope-from marc) Date: Thu, 20 Aug 2009 14:36:03 +0200 From: Marc Fonvieille To: Warren Block Message-ID: <20090820123603.GB1239@gothic.blackend.org> References: <200908201343.07634.tijl@ulyssis.org> <20090820123041.GA1239@gothic.blackend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090820123041.GA1239@gothic.blackend.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-BETA2 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 12:44:29 -0000 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