Tweeted twitter.com/StackUnix/status/760139018839416835
3 added 947 characters in body
source | link

Firefox tries to open downloaded *.bz2 archives in GIMP even though both xdg-open and nautilus open it with file-roller as intended. This only happens when clicking on the downward arrow next to the search bar and then clicking on the file, using Tools->Downloads from the menu works as intended.

$ xdg-mime query default application/x-bzip
org.gnome.FileRoller.desktop

In nautilus, "Open With" on the file also correctly shows "Archive Manager" as default application. Edit->Preferences->Applications is set to "always ask" for "Bzip archive" (setting it to Archive Manager doesn't help as well).

How can I get Firefox to open *.bz2 files with file-roller when clicking on the downward-arrow next to the search bar and then on the downloaded file?

Versions: Arch Linux 4.6.4-1, GNOME Shell 3.20.3, Firefox 47.0.1, Gimp 2.8.

Output of grep -e "bzip\|bz2" -C1 .mozilla/firefox/[ProfileFolder]/mimeTypes.rdf:

 <RDF:Description RDF:about="urn:mimetype:application/x-bzip2"
                   NC:value="application/x-bzip2"
                   NC:editable="true"
                   NC:description="Bzip-Archiv">
    <NC:fileExtensions>bz2</NC:fileExtensions>
    <NC:fileExtensions>boz</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-bzip2"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/file-roller"/>
--
    <RDF:li RDF:resource="urn:mimetype:text/plain"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-bzip2"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mpeg"/>
--
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-bzip2"
                   NC:useSystemDefault="true"

Firefox tries to open downloaded *.bz2 archives in GIMP even though both xdg-open and nautilus open it with file-roller as intended. This only happens when clicking on the downward arrow next to the search bar and then clicking on the file, using Tools->Downloads from the menu works as intended.

$ xdg-mime query default application/x-bzip
org.gnome.FileRoller.desktop

In nautilus, "Open With" on the file also correctly shows "Archive Manager" as default application. Edit->Preferences->Applications is set to "always ask" for "Bzip archive" (setting it to Archive Manager doesn't help as well).

How can I get Firefox to open *.bz2 files with file-roller when clicking on the downward-arrow next to the search bar and then on the downloaded file?

Versions: Arch Linux 4.6.4-1, GNOME Shell 3.20.3, Firefox 47.0.1, Gimp 2.8.

Firefox tries to open downloaded *.bz2 archives in GIMP even though both xdg-open and nautilus open it with file-roller as intended. This only happens when clicking on the downward arrow next to the search bar and then clicking on the file, using Tools->Downloads from the menu works as intended.

$ xdg-mime query default application/x-bzip
org.gnome.FileRoller.desktop

In nautilus, "Open With" on the file also correctly shows "Archive Manager" as default application. Edit->Preferences->Applications is set to "always ask" for "Bzip archive" (setting it to Archive Manager doesn't help as well).

How can I get Firefox to open *.bz2 files with file-roller when clicking on the downward-arrow next to the search bar and then on the downloaded file?

Versions: Arch Linux 4.6.4-1, GNOME Shell 3.20.3, Firefox 47.0.1, Gimp 2.8.

Output of grep -e "bzip\|bz2" -C1 .mozilla/firefox/[ProfileFolder]/mimeTypes.rdf:

 <RDF:Description RDF:about="urn:mimetype:application/x-bzip2"
                   NC:value="application/x-bzip2"
                   NC:editable="true"
                   NC:description="Bzip-Archiv">
    <NC:fileExtensions>bz2</NC:fileExtensions>
    <NC:fileExtensions>boz</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-bzip2"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/file-roller"/>
--
    <RDF:li RDF:resource="urn:mimetype:text/plain"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-bzip2"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mpeg"/>
--
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-bzip2"
                   NC:useSystemDefault="true"
2 edited tags
| link
1
source | link

Firefox opens *.bz2 in GIMP

Firefox tries to open downloaded *.bz2 archives in GIMP even though both xdg-open and nautilus open it with file-roller as intended. This only happens when clicking on the downward arrow next to the search bar and then clicking on the file, using Tools->Downloads from the menu works as intended.

$ xdg-mime query default application/x-bzip
org.gnome.FileRoller.desktop

In nautilus, "Open With" on the file also correctly shows "Archive Manager" as default application. Edit->Preferences->Applications is set to "always ask" for "Bzip archive" (setting it to Archive Manager doesn't help as well).

How can I get Firefox to open *.bz2 files with file-roller when clicking on the downward-arrow next to the search bar and then on the downloaded file?

Versions: Arch Linux 4.6.4-1, GNOME Shell 3.20.3, Firefox 47.0.1, Gimp 2.8.