You are not logged in.

#1 2009-05-16 15:17:58

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

[SOLVED] Firefox: How can I always show a program to open with?

When downloading files, there are the Open With and Save As options. On Ubuntu, the Open With option had the default program for opening the specified kind of file in the drop-down and the Browse option to find a program to open it with. On Arch I just have the Browse option. Is there a way I can add certain programs to this drop-down? I am aware that you can set Firefox to always open certain kinds of files with a certain program, but that does not give me the option to choose to open or download, it just always opens.

Last edited by linkmaster03 (2009-05-25 17:05:40)

Offline

#2 2009-05-24 02:27:46

lll9p
Member
From: China
Registered: 2008-08-07
Posts: 10
Website

Re: [SOLVED] Firefox: How can I always show a program to open with?

I have this problem also


Come to my blog ...http://www.imtho.com

Offline

#3 2009-05-24 07:19:35

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: [SOLVED] Firefox: How can I always show a program to open with?

AFAIR it is a firefox bug which was supposed to be fixed in 3.1. Annoys the hell out of me.
What DE do you use?

Offline

#4 2009-05-24 10:41:38

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED] Firefox: How can I always show a program to open with?

I use firefox 3.5b4 and this problem seems to be gone there. In earlier versions it sometimes worked and sometimes didn't, really annoying. Imho 3.5.b4 is already VERY stable, works perfectly here. I'd recommend to either wait for it to be released as stable or simply wait. Or use another browser wink

Offline

#5 2009-05-24 15:13:26

lll9p
Member
From: China
Registered: 2008-08-07
Posts: 10
Website

Re: [SOLVED] Firefox: How can I always show a program to open with?

well when I install mime-types it shows some applications...

sudo pacman -S mime-types

Come to my blog ...http://www.imtho.com

Offline

#6 2009-05-24 15:21:11

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: [SOLVED] Firefox: How can I always show a program to open with?

I have gmime, gnome-mime-data, mime-types and shared-mime-info installed and yet it does not really work as intended. With f3.5b4 it still won't associate for example OOo or PDF files. I'll have to look into this more.

Offline

#7 2009-05-24 20:08:35

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Firefox: How can I always show a program to open with?

I use Openbox.

Army: Thanks for the tip! I am installing it now.

Offline

#8 2009-05-24 21:34:31

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED] Firefox: How can I always show a program to open with?

You'll love the improvements ;-) But still, firefox is as far away from being perfect like any other browser...

Offline

#9 2009-05-25 10:20:47

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Firefox: How can I always show a program to open with?

Firefox 3.5b4 doesn't seem to solve the problem. I have the same issue as before.

Offline

#10 2009-05-25 14:14:10

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: [SOLVED] Firefox: How can I always show a program to open with?

You need a ~/.mailcap file. If you don't have a .mailcap, it looks in /etc/mailcap. It'll look something like this:

application/msword;/usr/bin/ooowriter %s
application/pdf;/usr/bin/epdfview %s

So first you list the mime-type, and then the associated program after a semicolon. %s represents the file to be passed on.

---Edit---
You don't need the /usr/bin/ part if it's in your $PATH.

Alternatively, you can edit mimeTypes.rdf in your firefox profile: http://kb.mozillazine.org/MimeTypes.rdf

Last edited by Berticus (2009-05-25 14:17:29)

Offline

#11 2009-05-25 17:05:30

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Firefox: How can I always show a program to open with?

Thank you very much Berticus! Your solution works like a charm. smile

Offline

#12 2009-05-27 05:51:27

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: [SOLVED] Firefox: How can I always show a program to open with?

I'm confused. Is there a package which provides the mailcap file or am I supposed to edit it by hand to add each and every filetype association on my system?

Offline

Board footer

Powered by FluxBB