Spam Assassin - a mail filter to identify spam


Displaying PDF Files in Mozilla
2005-11-08 18:50:52

Mozilla Annoyances
If I see a van full of clowns driving down the Five that morning, I'm running them off the road.
-- Flesh


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 for displaying .pdf files. Checking the system for that file I found:

# locate

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/
-rw-r--r-- 1 root root 129611 2004-06-08 12:58 /opt/mozilla/lib/plugins/

# ls -al /opt/MozillaFirefox/lib/plugins/
lrwxrwxrwx 1 root root 51 2005-06-09 11:36 /opt/MozillaFirefox/lib/plugins/ -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/
# ls -al /usr/X11R6/lib/Acrobat7/Browser/intellinux/
-rwxr-xr-x 1 root root 878568 Jul 27 15:10 /usr/X11R6/lib/Acrobat7/Browser/intellinux/

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/ /opt/mozilla/lib/plugins/

# ln -s /usr/X11R6/lib/Acrobat7/Browser/intellinux/ /opt/mozilla/lib/plugins/

# ls -al /opt/mozilla/lib/plugins/
lrwxrwxrwx 1 root root 51 Oct 27 09:02 /opt/mozilla/lib/plugins/ -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/

# ls -al /opt/MozillaFirefox/lib/plugins/
lrwxrwxrwx 1 root root 51 Jun 9 11:36 /opt/MozillaFirefox/lib/plugins/ -> /usr/X11R6/lib/Acrobat7/Browser/intellinux/

After stopping and re-starting Mozilla the problem was solved.

Over.  End of Story.  Go home now.

comments powered by Disqus


T O P   S T O R I E S

Eavesdropping on Geeks: Did Anyone Like 'Star Wars: The Last Jedi'?
by Lenny, Thom 'Starky' Stark, Geoffrey, Splicer, Baron, Destino

Henry Juszkiewicz Destroys Gibson Guitars
by Thom 'Starky' Stark

Does anyone care about being wrong about Appalachia?
by Baron Earl

Eavesdropping on Geeks: Music to Protest By
by Flesh, Master Squid, Baron Earl, El Destino


El Destino

Zeitgeist's Legendary 'Tamale Lady' Dies Just Weeks Before Opening Her Long-Awaited Restaurant


Baron Earl

Cliff Burton Day in Castro Valley


El Destino

When Spock met PLATO


El Destino

A musical reminder: Don't Say GIF


El Destino

Devo's one and only Christmas song


El Destino

What teenaged girls really wanted to ask David Cassidy


El Destino

Frank Sinatra told Donald Trump to "go fuck himself"


El Destino

Whatever happened to JenniCam's Jennifer Ringley?


El Destino

Iíve Made Millions Selling Fake Plastic Hillbilly Teeth


Baron Earl

Fyre Fest Lawsuit

More Quickies...