Modify Firefox mimetypes.rdf to prompt Open With for application/octet-stream

Some web-servers intentionally or inadvertently use the application/octet-stream mime-type for files where either the actual mime-type isn't known or when they are incorrectly configured. Or perhaps where the file is binary and application/octet-stream is appropriate. With these mimetypes, the Open With option is omitted from the file download dialog box. I would like to modify Firefox mimetype.rdf (or whatever else is needed) to change this behaviour so that "Open With" option is always present. I have skimmed the Mozilla docs and monkeyed with the rdf a bit, but I am hoping someone has already figured this out. Of course, if there is an extension I cannot find that just does this already, excellent.

asked Feb 2, 2012 at 12:11 60.6k 19 19 gold badges 155 155 silver badges 172 172 bronze badges

What OS are you using? In my Windows 7 with Firefox 10.0.2, even application/octet-stream mime type prompted me with an Open With window. but in Linux, I follow the tutorial and nothing works.

Commented Mar 10, 2012 at 10:35

@MdGao I found this to be happening on linux - the stupid thing is I no longer access the system that was giving me the problem. Do you have a link I can test against?

Commented Mar 10, 2012 at 11:58 if you mean download link for test: this, and this Commented Mar 10, 2012 at 14:04

In recent versions up to the current 32.0.3 on Linux I have the option Open with but it remembers only a single executable in the pull-down menu so it is very hardly usable when you have to find the right executable file almost every time. --- Unfortunately I did not manage yet to make OpenDownload² working completely as expected (opens .pcapng in gedit instead of wireshark ).

Commented Oct 14, 2014 at 17:18

I tried editing the mimeTypes.rdf adding handling of application/octet-stream, but that did not help.