Build Date: Thu Jul 10 23:00:55 2025 UTC
You misspelled Freud, and you didn't understand the original joke. Go sit in the corner.
-- Tjames Madison
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
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...)
Republican State Senator busted after soliciting a teenage girl
Republican State Senator Justin Eichorn of Minnesota was arrested for soliciting a teen girl on Monday just hours after he introduced a bill proposing "Trump derangement syndrome" (TDS) as a form of mental illness. (More...)
Parents claim measles is not that bad after having only one child die
The parents of a Texas girl who died from the measles are defending their decision not to vaccinate their daughter. "She says they would still say 'Don't do the shots,'" an unidentified translator for the parents said. "They think it’s not as bad as the media is making it out to be." (More...)
Delusional rich man tries to fire town staff
"I'm mayor now" said write-in mayoral candidate and founder of Pirate’s Booty Snacks Robert Ehrlich after losing the election for Mayor of Sea Cliff, NY. Then he tried to take over the Village Hall and fire everyone. (More...)
Musk claims Xitter security is staffed by idiots
Earlier this month Xitter experienced a massive outage. In an interview, Musk told Fox Business that he believes the attack came from "IP addresses originating in the Ukraine area." (More...)
The Future Ain't What It Used To Be
Ideas have taken horrifying shape and rooted into our modern reality. (More...)
C L A S S I C P I G D O G
It's not like I have a heroin problem, see. I'm just a self-indulgent brat who likes to live beyond her means. When I zip down to my corner Money Mart for a little cash-till-payday loan, I'm really not planning to spend it on drugs. I'll spend it on sushi. Seventy bucks of interest for a two-week $400 loan is perfectly reasonable, if you really need that hamachi. (More...)
Report from Spiritual Machines
Arkuat gives you the inside scoop on the "Spiritual Machines" panel and conclave. Wacky excitement ensues! (More...)
Poor Metallica. All they want is to continue to put out the same weak "Heavy Metal" they've been churning out since the "And Justice For All" days? and make gooey wads of cash in the process. The problem is, people aren't buying their bound for the heavy metal scrap heap, over-produced, uninspired, tired crap. And let's face it, their various commercial endorsements won't pay for the lifestyle they've become comfortably accustomed to. Resorting to lawsuits makes perfect sense, when you need spending money. But just one lawsuit isn't going to pay their bills. So, to aid Metallica, I've composed an open letter to the boys in the band, with suggestions as to whom else they might sic their lapdog lawyers on... (More...)
Absinthia: The Pigdog Interview
Absinthe is making a come back for the Millennium. Even English people are slurping it down in pubs, eschewing their normal, healthy stouts and ales. And why not? Hell, if the planet is going to explode anyway, why not ride the DEATH WAVE in, and celebrate Y2K with the most entertaining and vicious elixir you can find? Come! Explore the "Absinthe Underground" with El Snatcher, Mr. Bad, and Splicer, as they interview the notorious absinthe bootlegger, Absinthia. (More...)
One of our star reporters was sent to Comdex by his employer. El Destino reports live from the biggest, geekiest trade show in the world. (More...)
Our team of crack journalists went insane, and made the drive from Concord, California to Concord, New Hasmpshire on Interstate 80. Read the insightful observations of our intrepid travelers made on their journey into the heartland. (More...)