[Bug 918019] Re: Firefox does not use default application to open binary files

Martinique 918019 at bugs.launchpad.net
Sat Sep 19 20:57:39 UTC 2015


I worked around this bug by adding a .desktop file for xdg-open and then
setting it to be the default handler for unknown binary (application
/octet-stream) files. It appears as "Let Ubuntu choose" in Firefox for
opening files. I haven't had any problems since.


1. Put the below lines into a new file /usr/share/applications/xdg-open.desktop (using sudo)
[Desktop Entry]
Name=Let Ubuntu choose
Exec=/usr/bin/xdg-open
Terminal=false
Type=Application
NoDisplay=true


2. Edit .local/share/applications/mimeapps.list and replace this line:
application/octet-stream=gedit.desktop;
...with this:
application/octet-stream=xdg-open.desktop;

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/918019

Title:
  Firefox does not use default application to open binary files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/918019/+subscriptions



More information about the Ubuntu-mozillateam-bugs mailing list