LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-04-2005, 04:09 AM   #1
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Disable builtin PDF handling - Mozilla 1.7.5


I'm having some difficulty finding a setting (at least, I assume it's in here somewhere and I'm just an idiot) . What I wish to do is disable Mozilla's automatic handling of PDF's, and, by default, open them in an external viewer, kpdf specifically.

I was wondering if this was possible, as I see nothing in the config, nor in about:config and googling/search returned nothing useful.

When I try assigning the MIME type in Preferences, it tell me that it can handle this built-in, and will only launch the external viewer when expressly requested to do so by the site. Unfortunately, it cannot handle this natively. The screen just goes black (I can sometimes get the PDF to load by reloading the page several times).

I've posted at Mozillazine, but haven't received a response in 2 weeks (and 4 bumps), I gave up.
 
Old 03-04-2005, 04:16 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,897

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
You can go to:
Helper Applications: File Types
Add application/pdf if it does't exists, or edit it accordingly to use Acrobat Reader (acroread) or whatever pdf reader you prefer.
Regards
 
Old 03-04-2005, 04:24 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
I've tried that, but thanks:
Quote:
When I try assigning the MIME type in Preferences, it tell me that it can handle this built-in, and will only launch the external viewer when expressly requested to do so by the site. Unfortunately, it cannot handle this natively. The screen just goes black (I can sometimes get the PDF to load by reloading the page several times).
 
Old 03-04-2005, 05:17 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,897

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Take a look at mimeTypes.rdf in your ~/.mozila directory. Mine, using acroread looks like this:
Quote:
<RDFescription RDF:about="urn:mimetype:externalApplication:application/pdf"
NCath="/usr/local/Acrobat5/bin/acroread"
NCrettyName="acroread" />
</RDFescription>
...
<RDF:Seq RDF:about="urn:mimetypes:root">
<RDF:li RDF:resource="urn:mimetype:application/pdf"/>
...
<RDFescription RDF:about="urn:mimetype:application/pdf"
NC:description=""
NC:fileExtensions="pdf"
NC:value="application/pdf"
NC:editable="true">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
</RDFescription>
...
<RDFescription RDF:about="urn:mimetype:handler:application/pdf"
NC:alwaysAsk="true"
NC:saveToDisk="false"
NC:useSystemDefault="false"
NC:handleInternal="false">
<NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
</RDFescription>
 
Old 03-04-2005, 07:20 AM   #5
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 349

Rep: Reputation: 30
Perhaps your browser is handling .pdfs via plugins, (mine does) looking at aboutlugins would be a quick way to find out.

HTH

Mad
 
Old 03-04-2005, 08:25 AM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by madluther
Perhaps your browser is handling .pdfs via plugins, (mine does) looking at aboutlugins would be a quick way to find out.

HTH

Mad
This did it thanks
I just recompiled mozplugger and changed the pointers to kpdf...
It still tries to handle them internally, but it also launches kpdf... I'll take it
Again, thanks for your help, I knew I could count on LQ!
 
Old 03-30-2005, 07:46 AM   #7
thegnu
Member
 
Registered: May 2004
Location: St. Petersburg, FL USA
Distribution: Arch Linux, Fedora Core 3
Posts: 51

Rep: Reputation: 15
Quote:
Originally posted by madluther
looking at aboutlugins[/B]
Haha! aboutlugins. I love it when the smilies take over.
 
  


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
How to print a webmail as pdf file - Mozilla 1.7.3 satimis Linux - General 4 02-25-2005 09:58 AM
mozilla MIME handling eantoranz Linux - Software 0 06-16-2004 02:03 PM
pdf in mozilla pasalacqua128 Linux - Software 5 05-31-2004 11:09 AM
Disable anti-aliasing in Mozilla? raeven Linux - Software 0 03-20-2003 09:44 AM
pdf in mozilla acid_kewpie Linux - General 2 10-28-2001 04:58 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration