LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2006, 09:10 AM   #1
philippeP
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Debian sarge/etch
Posts: 18

Rep: Reputation: 0
cannot browse PDF links which are not local


Hi,

I have this annoying problem with acrobat (or xpdf if you prefer) which does not occur under windows. So I was hoping to get it to work under linux as well! Not much help found with either google or linuxquestions.

I know this web site which hosts the content of some CDs which are meant to be browsed with a PDF viewer. If you open the original CD with a normal browser (even under linux), all is fine. For example I open "/cdrom/begin.pdf" which contains a link to "content.pdf", acrobat then opens correctly "/cdrom/content.pdf" by expending the file with its /cdrom/ location.

Now the problem is when all this is web hosted. I click my file "http://nice.url/begin.pdf", then acrobad (or xpdf) pops up. Good. But when I click on the link "content.pdf", it tries to open a local file, and not the correct "http://nice.url/content.pdf" file. Hence my PDF browsing experience is cut short pretty quickly...

Maybe this also has to do with my acrobad/xpdf opening in a separate window, instead of being embedded in my web browser(?). But I am not sure. I have tried to get acrobad to be embedded using mozplugger package but unsuccessfully.

Any hint about getting around this solved, e.g. by embedding acroread to firefox or by getting it to work some other way.

Thanks in advance,
Philippe

PS: my windows remote server is currently out of order... grrr...
 
Old 04-29-2006, 01:31 PM   #2
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Quote:
Originally Posted by philippeP
Any hint about getting around this solved, e.g. by embedding acroread to firefox or by getting it to work some other way.
Adobe Reader 7.0 includes a script for installing the browser plugin. This script is installed by default at /usr/local/Adobe/Acrobat7.0/Browser/install_browser_plugin.

Alternatively, manually create a symbolic link to nppdf.so (which I think is in /usr/local/Adobe/Acrobat7.0/Browser, or somewhere around that area) in your plugins directory.
 
Old 04-29-2006, 02:59 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
when you say it trys to open a local file, do mean that when the download box appears and you hit "open it" instead of save, a pop up box appears wanting you to select a program? I think it's asking you to select the program that you want to open it with, for instance: /opt/kde/bin/kpdf is the location to the default KDE pdf viewer.

regards,
...drkstr
 
Old 05-03-2006, 07:47 AM   #4
philippeP
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Debian sarge/etch
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks "hand of fate" for your reply and solution.

Indeed the trick lies in installing (and having your browser use) the nppdf.so plugin. With debian it was a bit different, I had to install the "mozilla-acroread" package which installs nppdf.so and took over the handling of PDF files. These were handled before by mozplugger (mozplugger.so).

So it now works perfectly. The setup can be verified by using the "aboutlugins" URL in mozilla/firefox, it should list "Adobe Reader 7.0" (nppdf.so) before any other PDF plugin.

Matter is closed (for me).
PhilippeP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Suse 10 - Samba - Windows/Linux can't browse local network MadCowDzz SUSE / openSUSE 26 07-09-2008 12:19 PM
Can't view pdf links in FF with Suse 10 acanton SUSE / openSUSE 2 10-20-2005 10:35 AM
Need to browse local filesystem from browser - how? Bob2 Programming 3 08-03-2004 05:29 PM
Browse local network fatrandy13 Linux - Wireless Networking 1 07-04-2004 11:41 AM
Using Konqueror to Browse Local Intranet sacants Linux - Newbie 1 02-21-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 PM.

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