LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2008, 05:30 PM   #1
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Rep: Reputation: 42
Xpdf in Firefox 3


The instructions in the xpdf man page for getting pdfs to show up in a browser session do not seem to be working in Firefox 3.

The given instructions are to add the following lines to the following files:

in ~/.mime.types add:
application/pdf pdf

in ~/.mailcap add:
# Use xpdf to view PDF files.
application/pdf; xpdf -q %s

This worked with firefox 2.x, but does not appear to be working for firefox 3. I have checked to make sure there is no symlink to a (nonexistant) browser plugin for acroread. Any ideas?
 
Old 06-24-2008, 09:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Which Slackware ?? And which window manager ?? KDE ? XFCE ?

Rgds
 
Old 07-06-2008, 12:07 AM   #3
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 42
Slackware 12.1, using WindowMaker (though there is no difference in KDE or Xfce).
 
Old 07-08-2008, 10:58 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
In fact there is no way to show ".pdf" in Firefox 3,
and I don't know why. ( I was not at all aware of that )

But I found a way to show those files.
Firefox3 will suggest to open the file with an app, and if not showing
'xpdf' , choose "Other" and next find /usr/bin/xpdf (or kpdf)
in the dialog box and "check mark" to use same app next time.

The only plugin for the moment is, I think
"PDF Download by Nitro PDF Software"
http://www.pdfdownload.org/
but it will show .pdf in the same way as above.

Rgds

Last edited by knudfl; 07-09-2008 at 01:31 AM.
 
Old 07-08-2008, 04:14 PM   #5
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
I use FF3, uninstalled but just copied to a directory I chose.
You can install a Linux version of Adobe Reader as a plugin for Firefox 3.
Click Tools Add-Ons, and a new tab will open.
In the upper-right corner click "Browse all Add-Ons".
In the webpage that appears look under Categories and click Plugins.
On the new webpage that appears the first plugin you should see is Adobe Reader.
I have not tried this myself 'cause I prefer to download pdf-files rather than viewing them online.
But that's a matter of taste. I guess that this will meet your demand.
 
Old 07-09-2008, 01:35 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
**Sjonnie48, thank you very much, I hadn't looked that far
to search, just in the small dialog box with Add-Ons.

Thank you !
 
Old 07-09-2008, 09:59 AM   #7
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
You're welcome.

And: always look beyond the end of your nose ;-)
 
Old 07-13-2008, 04:11 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sjonnie48, #7, good point.

Except that the shown plugin, Adobe Reader, is just the
usual 80 MB monster from Adobe, and not at all a plugin.

Regards
 
Old 12-15-2008, 11:55 PM   #9
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 42
I have too many problems with Acrobat Reader. It is large and bloated enough to be unbearably slow on my computer, especially when Firefox is running. Maybe I'll give MozPlugger another try.
 
Old 12-16-2008, 04:23 PM   #10
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
You can always download the pdf file to the /tmp directory and then open it with the pdf reader of your choice.

BTW, Adobe Reader used to have some privacy issues by enabling Java Script (in the pdf document) by default. Some people have implemented a "phone home" feature using JS in pdf and there may be other nasty things you can do with it. I don't know if Adobe ever fixed this or not.
 
Old 12-18-2008, 07:13 PM   #11
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 42
Quote:
Originally Posted by blackhole54 View Post
You can always download the pdf file to the /tmp directory and then open it with the pdf reader of your choice.
Yeah, this is essentially what I'm doing now. It's just nice to not have to open up a terminal window or file manager just to look at something that's part of my general online browsing flow. As an example, there is a page I've been going to lately that has a series of PDF documents; I'd like to peruse them, but I neither want to manually download them all, nor have to manually open each one to get what I want. It used to be that I could do it all in the browser with no problems.

Quote:
BTW, Adobe Reader used to have some privacy issues by enabling Java Script (in the pdf document) by default. Some people have implemented a "phone home" feature using JS in pdf and there may be other nasty things you can do with it. I don't know if Adobe ever fixed this or not.
Yeah. That is just another reason I don't like Acrobat Reader. (The biggest reason, though, is that I actually get a more faithful rendition of the PDF in any of the Poppler PDF readers... and they're all lighter weight)

Last edited by josiah; 12-18-2008 at 07:20 PM.
 
Old 12-18-2008, 07:55 PM   #12
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 42
I got it working with MozPlugger, which is additionally nice in that it can give fairly fine control of what programs are used as plugins for just about any kind of file. It just used to be that I could easily write a config file and have Mozilla browsers use Xpdf as an in-browser PDF viewer.
 
  


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
xpdf or kpdf? anamericanjoe Linux - Software 2 09-15-2006 03:46 AM
Xpdf for Solaris 10? as400 Solaris / OpenSolaris 3 01-06-2006 05:26 PM
Xpdf satimis Linux - Software 3 09-04-2005 11:28 AM
xpdf error anadyr Slackware 7 01-04-2005 04:27 AM
What do I need to do to get xpdf to print? rdaves@earthlink.net Linux - General 3 08-10-2001 02:08 AM

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

All times are GMT -5. The time now is 06:54 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