You are not logged in.
Pages: 1
Topic closed
Ever since the new gimp was installed, gimp decided that it needed to associate itself with PDF files. So when I open PDF files from firefox or thunderbird it starts gimp. I don't want this. How can I set it back a normal pdf viewer like xpdf?
Offline
What Desktop Environment/Window Manager are you using?
Offline
What Desktop Environment/Window Manager are you using?
XFCE
Offline
same problem here, but with gnome.
Offline
In Firefox, select Edit --> Preferences and select the Applications tab. Scroll down to PDF file and select the action you want it to perform, i.e. Use xpdf....
Bob
Offline
I didn't even have pdf option listed in firefox. I had to manually find binary for evince in gnome "open with" dialog.
Offline
btw, i'm not using firefox in gnome, but epiphany. seems like a xulrunner issue and there is no option to override it in ephy.
Offline
In Gnome, you can right-click a pdf file, go to properties, and then set the app to open all pdf files.
oz
Offline
Removing the pdf mimetype from /usr/share/applications/gimp.desktop does seem to help...
Offline
In Gnome, you can right-click a pdf file, go to properties, and then set the app to open all pdf files.
that doesn't fix the problem though. i have only evince listed there.
Offline
Firefox uses the program, which I select as default for pdf in pcmanfm (evince-gtk). By default on a fresh install I do have Gimp as default program, but it's changed very fast. On XFCE, which I used the last two weeks (and maybe I'll go back, as soon as the new version is out) and had no problem at all to make evince the default app.
Offline
I know that for me, using Openbox + PCMan File Manager, I was able to set my PDF reader to evince by right clicking and setting evince in the "Open With..." dialogue.
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
Thanks ozar, your suggestion worked for me... I thought it would be more complicated than that.
Offline
I use the following sed command to move gimp to the right and let evince, eog or whatever application follows to be the default in /usr/share/applications/mimeinfo.cache:
sed -i -r 's|=(gimp\.desktop);([^;]+?)|=\2;\1|' /usr/share/applications/mimeinfo.cache
However, when `update-desktop-database' is run (e.g.: during package updates), gimp jumps right back at the front, so I have to rerun the above command.
I've given this issue a lot of thinking but I wasn't able to come up with anything permanent. Strictly speaking, this is not a bug and I'm aware that individual file associations can be set that won't revert on package updates. Still, it would be awesome if someone could come up with a viable solution as to how to have the expected behavior system-wide.
Last edited by foutrelis (2008-11-19 12:49:06)
Offline
I know this is an old thread but I just wanted to add what I did to solve this:
mimeopen -d anypdf-file.pdf
This will ask you which application you want to use to open this type of file and saves it in ~/.local/share/applications/defaults.list
You could also edit this file manually and add the following
[Default Applications]
application/pdf=xpdf.desktop;
This file isn't updated when update-desktop-database is run.
Offline
Thanks for adding a solution, but due to the rolling release nature of Arch, things that might have been applicable 2 years ago may no longer apply.
Closing...
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed