LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-03-2005, 11:45 AM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
firefox, acroread, pluginreg.dat ?


Acrobat 7.0 is not yet available in my Synaptic Package Manager on my Hoary box. So I downloaded the latest tar.gz file and installed it.

Now I have a /usr/local/Acrobat5 and a /usr/local/Adobe/Acrobat7.0

Currently, if I click on a pdf link in a web page it opens acroread for version 5.

I see in ~/.mozilla/firefox/pluginreg.dat where it points to the version 5 acroread, but it also says not to edit the file.

Looking in the firefox preferences, I don't see what to do to update that pluginreg.dat.

Maybe that file is generated automatically, depending on what it discovers, rather than being generated from some direct input. Maybe I just need to go here:
Code:
bs@bsubuntu:/usr/lib/mozilla-firefox/plugins$ ls -l
total 0
lrwxrwxrwx  1 root root 59 2005-04-01 16:18 libjavaplugin_oji.so -> /usr/local/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx  1 root root 35 2005-04-01 16:38 mozplugger.so -> ../../mozilla/plugins/mozplugger.so
lrwxrwxrwx  1 root root 39 2005-04-18 15:20 mplayerplug-in.so -> ../../mozilla/plugins/mplayerplug-in.so
lrwxrwxrwx  1 root root 48 2005-04-10 13:33 nppdf.so -> /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
and redirect the link to nppdf.so to the Acrobat7.0 path and delete (or, well, rename) the pluginreg.dat file... and then it'll get regenerated.

I'm gonna try it!
 
Old 05-03-2005, 11:53 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
I must be smarter than a hockey puck.

That worked.
 
Old 05-03-2005, 12:03 PM   #3
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
Lightbulb Dude!

If your firefox install is mozilla-firefox then you just need to link the acroread and the plugin to the /usr/lib/mozilla-firefox/plugins directory. This will enable you to read .PDF files within the browser window. If you installed firefox-1.0.3 then you need to link the files to that plugin directory.

Step 1.
ln -sf /usr/local/Adobe/Acrobat7.0/bin/acroread /usr/bin/

Step 2.
ln -sf /usr/local/Adobe/Acrobat7.0/bin/acroread /usr/lib/mozilla-firefox/plugins
ln -sf /usr/local/Adobe/Acrobat7.0/bin/Browsers/intellinux/nppdf.so /usr/lib/mozilla-firefox/plugins

That will enable you to use Adobe Acrobat 7.0 within the browser window, just using the nppdf.so won't work. Same thing applies for Acrobat 5.0.10.

Only use one of the browser plugins, either 5 or 7

Last edited by webterractive; 05-03-2005 at 12:08 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mozilla-acroread plugin for firefox under FC4 btb Fedora 2 10-11-2005 03:45 AM
acroread Peter Shepard Red Hat 1 08-14-2005 06:47 PM
Firefox History.dat file raysr Linux - Software 0 11-12-2004 09:37 PM
acroread ? phil81 Mandriva 4 05-12-2004 01:41 PM
acroread DJBailey Linux - General 5 07-03-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration