Date: Sun, 27 Jan 2008 09:21:00 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: KAYVEN RIESE <kayve@sfsu.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: embedding pdf viewers in firefox Message-ID: <479C4CFC.10402@infracaninophile.co.uk> In-Reply-To: <Pine.SOC.4.64.0801261402470.10755@libra.sfsu.edu> References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> <86y7acmhrg.fsf@ds4.des.no> <86068e730801261324j33b7ae8cyc8faec5141f7555a@mail.gmail.com> <Pine.SOC.4.64.0801261402470.10755@libra.sfsu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 KAYVEN RIESE wrote: > as you can see, i am running the freeBSD OS. i have a gnome desktop. i > usually run firefox browser (i note that gnome has built in browser > called ephinany). i am dissatisfied with the fact that if i browse to a > webpage that contains pdf content that i am forced to save the file. Verb. Sap. It's best to start a new thread when you have a new subject. Changing the subject on an old thread will tend to hide your message quite effectively in some mail clients, plus hijacking someone else's thread is rude at best. This is also a subject more suitable for freebsd-questions@... rather than freebsd-hackers@... Anyhow, if you are running native FreeBSD firefox, then simply install print/acroread7. This includes a browser plugin that has the effect you desire: /usr/local/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so In order to get firefox to load the plugin it needs to be wrapped in a small amount of translation code and made available in the appropriate directory. To do that install the www/nspluginwrapper port. Then run: % nspluginwrapper -v -a -i as your own UID. This will create objects in ${HOME}/.mozilla/plugins Stop and restart firefox. Type about:plugins into the URL bar and it should now show (amongst others): Adobe Reader 7.0 File name: npwrapper.nppdf.so The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser. Et voilą. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnEz88Mjk52CukIwRCKduAJ4v7lCxGbsiCjyzLqGb+dRKtRCeJwCdH1rD iycULv8rmO1PSozE2xRkWBs= =MzpM -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479C4CFC.10402>