[arch-general] Getting firefox to use the PDF I want?
After installing Gimp it became the default application for PDFs, something I didn't really want. A quick change in Nautilus took care of Gnome. Still firefox insists on only offering a single choice for handling PDFs: gimp! Gnome behaves correctly, and XDG seems to be set up properly: % xdg-mime query default application/pdf /usr/share/applications/evince.desktop How do I get firefox to use the correct application? /M
On Wed, Jul 21, 2010 at 12:42 PM, Magnus Therning <magnus@therning.org> wrote:
After installing Gimp it became the default application for PDFs, something I didn't really want. A quick change in Nautilus took care of Gnome. Still firefox insists on only offering a single choice for handling PDFs: gimp!
Gnome behaves correctly, and XDG seems to be set up properly:
% xdg-mime query default application/pdf /usr/share/applications/evince.desktop
How do I get firefox to use the correct application?
/M
Firefox->Edit->Preferences->Applications -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://j.mp/arHk5e
On Wed, Jul 21, 2010 at 08:29, Nilesh Govindarajan <lists@itech7.com> wrote:
On Wed, Jul 21, 2010 at 12:42 PM, Magnus Therning <magnus@therning.org> wrote:
After installing Gimp it became the default application for PDFs, something I didn't really want. A quick change in Nautilus took care of Gnome. Still firefox insists on only offering a single choice for handling PDFs: gimp!
Gnome behaves correctly, and XDG seems to be set up properly:
% xdg-mime query default application/pdf /usr/share/applications/evince.desktop
How do I get firefox to use the correct application?
/M
Firefox->Edit->Preferences->Applications
Ah, forgot to mention that I've looked there already. There is no mention of PDF there, and I can't find a way to add an entry to it. Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right? It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. But where, and how do I change the settings? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
On 21.07.2010 12:06, Magnus Therning wrote:
Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right?
It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. If you're talking about the dialogue I'm thinking of ("What should Firefox do with this file?"), you can choose "Other..." and browse for an executable of your choice.
HTH, Wieland
On Wed, Jul 21, 2010 at 11:24, Wieland Hoffmann <themineo@googlemail.com> wrote:
On 21.07.2010 12:06, Magnus Therning wrote:
Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right?
It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. If you're talking about the dialogue I'm thinking of ("What should Firefox do with this file?"), you can choose "Other..." and browse for an executable of your choice.
Sure I can, but I'm curious of how firefox picked up evince to begin with, and then picked gimp instead, and why is evince not available as an option any more? Is that really only configurable by browsing around for executable files if I'm unhappy with the default choice? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
On Wed, Jul 21, 2010 at 4:02 PM, Magnus Therning <magnus@therning.org> wrote:
On Wed, Jul 21, 2010 at 11:24, Wieland Hoffmann <themineo@googlemail.com> wrote:
On 21.07.2010 12:06, Magnus Therning wrote:
Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right?
It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. If you're talking about the dialogue I'm thinking of ("What should Firefox do with this file?"), you can choose "Other..." and browse for an executable of your choice.
Sure I can, but I'm curious of how firefox picked up evince to begin with, and then picked gimp instead, and why is evince not available as an option any more? Is that really only configurable by browsing around for executable files if I'm unhappy with the default choice?
/M
-- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
If you were on this list from a long time, then you probably know that even I'd started a thread about a similar issue. It was about file associations with firefox & thunderbird. Ultimate solution is to use their inbuilt settings- that was what suggested to me. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://j.mp/arHk5e
On Wed, Jul 21, 2010 at 14:34, Nilesh Govindarajan <lists@itech7.com> wrote:
On Wed, Jul 21, 2010 at 4:02 PM, Magnus Therning <magnus@therning.org> wrote:
On Wed, Jul 21, 2010 at 11:24, Wieland Hoffmann <themineo@googlemail.com> wrote:
On 21.07.2010 12:06, Magnus Therning wrote:
Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right?
It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. If you're talking about the dialogue I'm thinking of ("What should Firefox do with this file?"), you can choose "Other..." and browse for an executable of your choice.
Sure I can, but I'm curious of how firefox picked up evince to begin with, and then picked gimp instead, and why is evince not available as an option any more? Is that really only configurable by browsing around for executable files if I'm unhappy with the default choice?
If you were on this list from a long time, then you probably know that even I'd started a thread about a similar issue. It was about file associations with firefox & thunderbird. Ultimate solution is to use their inbuilt settings- that was what suggested to me.
How amazingly irritating! /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
On 07/21/2010 10:29 AM, Magnus Therning wrote:
On Wed, Jul 21, 2010 at 14:34, Nilesh Govindarajan<lists@itech7.com> wrote:
On Wed, Jul 21, 2010 at 11:24, Wieland Hoffmann<themineo@googlemail.com> wrote:
On 21.07.2010 12:06, Magnus Therning wrote:
Firefox used evince before I installed gimp, so it must be picking up available applications from somewhere, right?
It also seems to pick up much more than just the name of the executable, since it displays the choice "GNU Image Manipulation Program (d..." in the dialogue. If you're talking about the dialogue I'm thinking of ("What should Firefox do with this file?"), you can choose "Other..." and browse for an executable of your choice. Sure I can, but I'm curious of how firefox picked up evince to begin with, and then picked gimp instead, and why is evince not available as an option any more? Is that really only configurable by browsing around for executable files if I'm unhappy with the default choice? If you were on this list from a long time, then you probably know that even I'd started a thread about a similar issue. It was about file associations with firefox& thunderbird. Ultimate solution is to use
On Wed, Jul 21, 2010 at 4:02 PM, Magnus Therning<magnus@therning.org> wrote: their inbuilt settings- that was what suggested to me. How amazingly irritating!
/M
There happens to be an archive of this list. I think the alluded-to message is here [0]. I definitely agree it's irritating to tease like that without a link. Brian [0] http://mailman.archlinux.org/pipermail/arch-general/2010-June/013980.html
On Wed, Jul 21, 2010 at 15:50, Brian Martin <brianmartin@gmail.com> wrote:
On 07/21/2010 10:29 AM, Magnus Therning wrote: [...]
How amazingly irritating!
/M
There happens to be an archive of this list. I think the alluded-to message is here [0]. I definitely agree it's irritating to tease like that without a link.
Brian
[0] http://mailman.archlinux.org/pipermail/arch-general/2010-June/013980.html
It is indeed the link. However, that was not what caused my annoyance, it was the mozilla devs not being able to hook firefox (or it seems thunderbird) to XDG (when it's available). /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
It would appear that on Jul 21, Magnus Therning did say:
After installing Gimp it became the default application for PDFs, something I didn't really want. <snip> How do I get firefox to use the correct application?
It would appear that on Jul 21, Nilesh Govindarajan did say:
Firefox->Edit->Preferences->Applications
It would appear that on Jul 21, Magnus Therning did say:
Ah, forgot to mention that I've looked there already. There is no mention of PDF there, and I can't find a way to add an entry to it. <snip> But where, and how do I change the settings?
I used the search box inside "Firefox->Edit->Preferences->Applications" to pull up what to do with "pdf" and was then able to set it to okular. But then I no longer get the selection pop-up that would let me override the choice and use evince if I wanted to... And if I select "always ask" the pop-up doesn't offer okular except by clicking my way to the search box where I need to point or type the full path. IE: /usr/bin/okular rather than just okular So I decided to just set it and forget it. Hope this helps. -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P | ~\___/~ <<jtwdyp@ttlc.net>>
On 22/07/10 23:31, Joe(theWordy)Philbrook wrote:
It would appear that on Jul 21, Magnus Therning did say:
After installing Gimp it became the default application for PDFs, something I didn't really want. <snip> How do I get firefox to use the correct application?
It would appear that on Jul 21, Nilesh Govindarajan did say:
Firefox->Edit->Preferences->Applications
It would appear that on Jul 21, Magnus Therning did say:
Ah, forgot to mention that I've looked there already. There is no mention of PDF there, and I can't find a way to add an entry to it. <snip> But where, and how do I change the settings?
I used the search box inside "Firefox->Edit->Preferences->Applications" to pull up what to do with "pdf" and was then able to set it to okular. But then I no longer get the selection pop-up that would let me override the choice and use evince if I wanted to... And if I select "always ask" the pop-up doesn't offer okular except by clicking my way to the search box where I need to point or type the full path. IE: /usr/bin/okular rather than just okular
So I decided to just set it and forget it.
Hope this helps.
why not just set it to xdg-open and be done with it?
It would appear that on Jul 23, Nathan Wayde did say:
On 22/07/10 23:31, Joe(theWordy)Philbrook wrote:
I used the search box inside "Firefox->Edit->Preferences->Applications" to pull up what to do with "pdf" and was then able to set it to okular. But then I no longer get the selection pop-up that would let me override the choice
why not just set it to xdg-open and be done with it?
Speaking for myself I'd have to learn how to use xdg-open first... besides my use of firefox is currently is currently limited to on-line banking sessions and any web link I launch from alpine... In either case I want to close the browser when I'm done without losing track of any open pages I may have in opera. I only suggested the above because someone didn't see how to set the action for pdf documents in firefox the day after I figured out how to set my firefox to use okular... But speaking of xdg-open, isn't that dependent on the desktop preferred application settings? If so I'd never use it. I don't like my desktop trying to second guess me the way it does. I don't want a browser to open just cause I clicked on a link. (I like it to simply land in the clipboard buffer so that I can paste it where I want it, be that a text document, a browser's location bar or the command line (likely prefixed with wget) Or the To: field of an alpine compose session. -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P | ~\___/~ <<jtwdyp@ttlc.net>>
Joe(theWordy)Philbrook wrote:
It would appear that on Jul 21, Magnus Therning did say:
After installing Gimp it became the default application for PDFs, something I didn't really want. <snip> How do I get firefox to use the correct application?
It would appear that on Jul 21, Nilesh Govindarajan did say:
Firefox->Edit->Preferences->Applications
It would appear that on Jul 21, Magnus Therning did say:
Ah, forgot to mention that I've looked there already. There is no mention of PDF there, and I can't find a way to add an entry to it. <snip> But where, and how do I change the settings?
I used the search box inside "Firefox->Edit->Preferences->Applications" to pull up what to do with "pdf" and was then able to set it to okular. But then I no longer get the selection pop-up that would let me override the choice and use evince if I wanted to... And if I select "always ask" the pop-up doesn't offer okular except by clicking my way to the search box where I need to point or type the full path. IE: /usr/bin/okular rather than just okular
So I decided to just set it and forget it.
Hope this helps.
Note that if you set it up once in the pop-up, it will remember it for the next time *even if it doesn't say so*. So the next time you get the "Open with..." dialog with apparently no application selected, you can just hit OK and it should open in okular... Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On 07/23/2010 08:12 PM, "Jérôme M. Berger" wrote:
Note that if you set it up once in the pop-up, it will remember it for the next time *even if it doesn't say so*. So the next time you get the "Open with..." dialog with apparently no application selected, you can just hit OK and it should open in okular...
Jerome
However it will forget whatever you had there once you select any other option (such as save) instead of open. -- Mauro Santos
Mauro Santos wrote:
On 07/23/2010 08:12 PM, "Jérôme M. Berger" wrote:
Note that if you set it up once in the pop-up, it will remember it for the next time *even if it doesn't say so*. So the next time you get the "Open with..." dialog with apparently no application selected, you can just hit OK and it should open in okular...
Jerome
However it will forget whatever you had there once you select any other option (such as save) instead of open.
True, OTOH you can always save through the right click menu, in which case it will keep the selection in the "Open with..." dialog. At which point it will only forget it if you try to open with some other app once. (Of course if you're going to use the right-click menu for save anyway, you might as well store okular as the default action and not bother with the dialog) Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On 07/23/2010 09:50 PM, "Jérôme M. Berger" wrote:
Mauro Santos wrote:
On 07/23/2010 08:12 PM, "Jérôme M. Berger" wrote:
Note that if you set it up once in the pop-up, it will remember it for the next time *even if it doesn't say so*. So the next time you get the "Open with..." dialog with apparently no application selected, you can just hit OK and it should open in okular...
Jerome
However it will forget whatever you had there once you select any other option (such as save) instead of open.
True, OTOH you can always save through the right click menu, in which case it will keep the selection in the "Open with..." dialog. At which point it will only forget it if you try to open with some other app once. (Of course if you're going to use the right-click menu for save anyway, you might as well store okular as the default action and not bother with the dialog)
Jerome
You have a very good point there, I have only mentioned it because sometimes one might want to save the files and other times open the files directly, and the sudden loss of memory can be quite puzzling if you are not expecting it. -- Mauro Santos
On Wed, Jul 21, 2010 at 08:12, Magnus Therning <magnus@therning.org> wrote:
After installing Gimp it became the default application for PDFs, something I didn't really want. A quick change in Nautilus took care of Gnome. Still firefox insists on only offering a single choice for handling PDFs: gimp!
Gnome behaves correctly, and XDG seems to be set up properly:
% xdg-mime query default application/pdf /usr/share/applications/evince.desktop
How do I get firefox to use the correct application?
The easiest solution for now seems to be setting '/usr/bin/xdg-open' as the application to use for opening PDFs :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
On Tue, Jul 27, 2010 at 4:32 PM, Magnus Therning <magnus@therning.org> wrote:
On Wed, Jul 21, 2010 at 08:12, Magnus Therning <magnus@therning.org> wrote:
After installing Gimp it became the default application for PDFs, something I didn't really want. A quick change in Nautilus took care of Gnome. Still firefox insists on only offering a single choice for handling PDFs: gimp!
Gnome behaves correctly, and XDG seems to be set up properly:
% xdg-mime query default application/pdf /usr/share/applications/evince.desktop
How do I get firefox to use the correct application?
The easiest solution for now seems to be setting '/usr/bin/xdg-open' as the application to use for opening PDFs :-)
/M
-- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
Wohoo that's nice ;) Now no worries if viewer is changed (Although I don't plan to remove KDE and use something else :D). -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
participants (8)
-
"Jérôme M. Berger"
-
Brian Martin
-
Joe(theWordy)Philbrook
-
Magnus Therning
-
Mauro Santos
-
Nathan Wayde
-
Nilesh Govindarajan
-
Wieland Hoffmann