Build Date: Sun Nov 29 04:12:06 2026 UTC
When I saw George Perry over there drinking sake and playing Connect Four, I thought "Now THERE'S a man who uses a non-standard video driver!"
-- Binky
Displaying PDF Files in Mozilla
2005-11-08 18:50:52
At some point, my Mozilla browser stopped displaying PDF files. When I first installed it, I could view PDF files in a tabbed browser window just fine, but somewhere along the upgrade path viewing PDFs just stopped working.
I've been using Mozilla since the pre-v1.0 days, and I've upgraded through every stable version since the first one came out, and a few of the alpha and beta versions as well. At some point along the way with all of those upgrades, Mozilla stopped displaying PDF files. I could click a link, and the window would show the PDF file in the location bar, but the screen would be blank. My only option at that point would be to right-click the link to the PDF file, save the file, and then use Konquerer to open the file with KPDF or Acrobat Reader. Annoying.
I tried uninstalling and reinstalling Mozilla and its associated files. No luck. I'd tried changing the embedded file associations for .pdf files using KDE's File Associations tool, but Mozilla doesn't use those settings.
Checking the Help | About Plugins menu option showed that Mozilla used a shared library file called nppdf.so for displaying .pdf files. Checking the system for that file I found:
# locate nppdf.so
/opt/mozilla/lib/plugins/nppdf.so
/opt/MozillaFirefox/lib/plugins/nppdf.so
/usr/lib/browser-plugins/nppdf.so
/usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
Since I also have Firefox installed, and since I can display .pdf files in Firefox, I checked the library files:
# ls -al /opt/mozilla/lib/plugins/nppdf.so
-rw-r--r-- 1 root root 129611 2004-06-08 12:58 /opt/mozilla/lib/plugins/nppdf.so
# ls -al /opt/MozillaFirefox/lib/plugins/nppdf.so
lrwxrwxrwx 1 root root 51 2005-06-09 11:36 /opt/MozillaFirefox/lib/plugins/nppdf.so -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
# ls -al /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
-rwxr-xr-x 1 root root 878568 Jul 27 15:10 /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
Looks like Firefox uses the library that comes from Adobe, but Mozilla is using its own copy, from June 2004. Can it use the copy from Adobe? Let's try moving the old shared library out of the way and creating a symbolic link from the Adobe version of the library to the place where Mozilla expects to find the file:
# mv /opt/mozilla/lib/plugins/nppdf.so /opt/mozilla/lib/plugins/nppdf.so.orig
# ln -s /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so /opt/mozilla/lib/plugins/nppdf.so
# ls -al /opt/mozilla/lib/plugins/nppdf.so
lrwxrwxrwx 1 root root 51 Oct 27 09:02 /opt/mozilla/lib/plugins/nppdf.so -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
# ls -al /opt/MozillaFirefox/lib/plugins/nppdf.so
lrwxrwxrwx 1 root root 51 Jun 9 11:36 /opt/MozillaFirefox/lib/plugins/nppdf.so -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so
After stopping and re-starting Mozilla the problem was solved.

T O P S T O R I E S
Alex Cox is raising money to create REPO MAN 2
After more than 40 years it's time for a sequel. Alex Cox is raising money to bring Repo Man 2 to screens large and small. (More...)
Rotting fart garbage geyser spotted in L.A.
Here's something you don't see every day. Workers at Chiquita Canyon Landfill in Castaic decided to drill a hole 150 feet into a landfill when they hit a pocket of highly pressurized methane gas, AKA fart gas. The gas blew dirty stinking garbage high into the sky. (More...)
John Dvorak has passed. I’m of mixed emotions. First off I’m more positive about his contribution to the overall technology journalism of the early PC days through the 90s, despite how many things he got wrong. He was a firebrand and commanded attention. (More...)
America's National Recording Registry Inducts Culturally Significant Artist - Weezer!
America's Library of Congress calls them "defining sounds of history and culture" and "audio treasures worthy of preservation for all time based on their cultural, historical or aesthetic importance in the nation’s recorded sound heritage." Ladies and gentlemen, I give you... Weezer! (More...)
The Crossroads are real and The Blues is a place; The enduring myth of Robert Johnson (More...)
California Glory Hole attracts huge crowds
A glory hole at Napa's Lake Berryessa is drawing huge crowds. According to Chris Lee, the general manager for the Solano County Water Agency, the glory hole hasn't been active since 2019, and only restarted operations on Feb 4. (More...)
C L A S S I C P I G D O G
Vacationing from Somnambulant Narrow Realities
So about six months ago, I was chilling in Chang Mai, Thailand with ICBINJ, perursing the Bangkok Times over my banana pancake and Big Chang breakfast when I spotted this article reprinted from the LA Times. It was about some kooks from California (where else?) who were claiming to have been to the front lines in Afgahnistan in mid-December and had recorded the whole feat on their website. "Holy Fuck!" I thought, "Now That's web journalism. Who are these guys!?" (More...)
Our man Daemon Agent checks out the heavy heavy sounds of crazy space surf rockers Man or Astroman?. (More...)
It was early in May last year when I first heard about Spock Mountain Research Labs. I was working on a story about a Hungarian scientist's new approach to nucleopeptide synthesis when I got a call from my friend Albert. (More...)
The IBM Selectric Typewriter Changed My Life
I ran my hands lovingly across her frame, lightly brushing her metallic nipples with my fingers, admiring the shapes and the ways of her curves, the empathetic hum she produced as I had my way with her, the way she made it all seem so effortless and right... she didn't even seem to mind the way I roughly manipulated her knobs and tweaked her casing. She was extremely tolerant, for a typewriter. (More...)
Suru and I were at the local supermarket recently when we found ourselves in the booze isle, surrounded by rum. Banana rum, coconut rum, vanilla rum, unfiltered run, Jamaican rum, rum, rum, and more rum. We bought one of each and started experimenting... (More...)
The One I Feel Sorry For Is Joses
We've had a lot of Jesus coverage lately here at the PDJ. But let's face it, we're not exactly cutting-edge in this subject area. Jesus has been making headlines for, oh, I guess it's a couple thousand years now. Jesus is a very strong brand. Jesus has a lot of mindshare. (More...)