View previous topic :: View next topic |
Author |
Message |
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Apr 17, 2013 8:18 pm Post subject: Firefox, gimp and pdf [SOLVED] |
|
|
Hi,
I know this is a known issue of long standing one, but despite lots of long threads I have found neither the cause nor the solution. And it is a serious PITA.
If I down load a pdf by clicking on a link in firefox, it uses okular , as I have specified.
However, if I right.click on a tab in the download status bar and select "open", it tries to open it with GIMP !
Gimp fails abysmally, have taken forever to load whatever it does, and lets me get rid of it again. The tab is now cleared since FFx dumbly assumes I read the file.
Now I don't know who or what set this dumb link for Gimp as pdf editor but I'd really like to know what sets this up and how to get rid of it.
PS I've note I've been using Gentoo for about 10 years so please don't just explain how to set up helper apps on firefox.
TIA, Gentree. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Last edited by Gentree on Thu Apr 18, 2013 2:13 am; edited 1 time in total |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Apr 17, 2013 8:32 pm Post subject: |
|
|
What desktop environment?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Wed Apr 17, 2013 10:44 pm Post subject: |
|
|
One place I'd check is ~/.mozilla/firefox/<profile>/mimeTypes.rdf to see if there are any references to GIMP in there. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Apr 17, 2013 11:32 pm Post subject: |
|
|
I strongly suspect it's a matter of /usr/share/applications/zzz-gimp.desktop.
That 'zzz-' prefix is for the sake of preventing it, but it might no longer work.
Though recently firefox gained native pdf support - for average pdf files it's quite decent. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Apr 18, 2013 1:49 am Post subject: |
|
|
@John
FVWM
@tomk:
~/.mozilla/....
good idea, but no. No mention of gimp in there, and this is the PDF entry:
Code: | <RDF:Description RDF:about="urn:mimetype:application/x-download"
NC:fileExtensions="pdf"
NC:description="PDF document"
NC:value="application/x-download"
NC:editable="true">
<NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-download"/>
</RDF:Description>
|
@VoidMage:
Quote: | /usr/share/applications/zzz-gimp.desktop
That 'zzz-' prefix is for the sake of preventing it, but it might no longer work. |
I have such a zzz file and it contains a pdf entry
Is the zzz prefix part of the installation or does that mean I've been in here already and forgotten about it?
thanks to all for the suggestions. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Apr 18, 2013 1:59 am Post subject: |
|
|
... sadly FFx is still trying to use gimp for pdf
BTW I'd already found a similar file somewhere and removed pdf, but don't recall this zzz business.
It could have been this file since I've been crawling all over the file system trying to find this sort of cruft and I did not make notes of the one or two changes I made.
Also found this in mimeinfo.cache in the same directory:
application/pdf=zzz-gimp.desktop;kde4-okularApplication_pdf.desktop;evince.desktop;
BINGO
That seems to have fixed it. Let's hope nothing reverts it.
Many thanks void' , you sent me to the right place. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Apr 18, 2013 10:34 am Post subject: |
|
|
mimeinfo.cache is a file that's regenerated i.e. fdo-mime_desktop_database_update, so if you modified it, chances are it gets overwritten soon. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Apr 18, 2013 11:32 am Post subject: |
|
|
thanks for the warning.
So to find out what package is doing the guff and get it fixed I need to find out where this fdo-mime_desktop_database_update gets its silliness from.
You seem pretty on the ball with all this do you know how it works?
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
|