We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to specify application by extension rather than mime type (e.g., docx as word, not xml)

  • 2 replies
  • 5 have this problem
  • 1 view
  • Last reply by unlabeled

more options

When I try to open a link to a file.docx or file.xlsx, FF sees it as an xml file and wants to open it in my default xml application. I can select Word or Excel (I have Office 2010 installed), but a) it doesn't remember that in the applications list, so I have to browse applications each time, or b) if I set it to always use that type, it tries to open docx in Excel or xlsx in Word, depending on last usage. How can I specify applications by file extension instead of seeing these as the same type of file?

Thanks, Ian FF 15.0.1, Win 7, Office 2010

When I try to open a link to a file.docx or file.xlsx, FF sees it as an xml file and wants to open it in my default xml application. I can select Word or Excel (I have Office 2010 installed), but a) it doesn't remember that in the applications list, so I have to browse applications each time, or b) if I set it to always use that type, it tries to open docx in Excel or xlsx in Word, depending on last usage. How can I specify applications by file extension instead of seeing these as the same type of file? Thanks, Ian FF 15.0.1, Win 7, Office 2010

All Replies (2)

more options

Do you know if the website where you are downloading the files from is set up with the correct mime types? Often if the server doesn't know what the file types are, it serves them as generic xml.

An alternative solution could be to right-click the file and save it some place on your computer. Then when you double-click the file, Windows should recognize it and use the appropriate program.

For reference, here's the article we have about this - Manage file types and download actions in Firefox

more options

I don't know if the source server sends the right mime type - it probably doesn't. In fact, now you mention it, I'm not sure I've tried this from any sites except one, which is the one giving me problems. I'll try contacting them about fixing their mime types. Assuming though that they can't or won't fix it, the question still remains - is it possible to set application by extension rather than by mime type?

Yeah, I can definitely save it and open it, just trying to take the easiest possible route for a quick view.

Thanks.

Modified by unlabeled