[Bug 918019] Re: Firefox does not use default application to open binary files
I think this is the upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1166691 ** Bug watch added: Mozilla Bugzilla #1166691 https://bugzilla.mozilla.org/show_bug.cgi?id=1166691 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
Perhaps add this line would also be helpful: MimeType=application/octet-stream; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
>Martinique That's a really good idea! This could solve mime association problems across the board. I made two slight modifications, one because I quit Ubuntu and the other is more important: [Desktop Entry] Name=Auto-select Exec=/usr/bin/xdg-open %U Terminal=false Type=Application NoDisplay=true "%U" will be filled in with the filename/url to be opened. http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html Also, as Grzegorz (#25) pointed out, there are two possible locations for (user-custom) "mimeapps.list" ~/.config/mimeapps.list ~/.local/share/applications/mimeapps.list More information (much more): https://wiki.archlinux.org/index.php/Default_applications#MIME_types_and_desktop_entries -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
Thanks Martinique. That sounds promising, so I've made the same tweaks myself. I won't know in the short term if they have been successful, because I stopped using Firefox as my default browser more than a year ago for this and a couple of other reasons. Google Chromium is the default now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
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 Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
For me the file was ~/.config/mimeapps.list Thank you for that workaround from comment 12! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
comment #12 work around applied here with success. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
>>Rudolf - I susupect nautilus makes the mime-application overrride when you open a file in the wrong program, but I am not sure. - No idea, and furthermore why is firefox's mime handling so terrible? It can't even give you a list of installed applications to choose from when this button works--you have to select the executable from somewhere in your filesystem (usually /usr/bin/ or /usr/sbin/) because it doesn't understand .desktop files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
It's been well over a year since this bug was reported and confirmed, and with Ubuntu 13.04 it's still there in its full glory. From looking through strace and wireshark logs it becomes evident that the web server reports a file as x-octetstream, and instead of using file magic to determine the actual file type firefox just picks the application listed in that obscure file .local/share/applications/mimeapps.list All this leads me to two questions: - which application came up with the silly idea to put gedit into that file as standard handler of all x-octetstream BLOBs? - and why does firefox grey out the radio button that would allow me to permanently assign another application to this data type? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
The really odd part is that I'm using the same profile on a 64 bit partition and it shows no sign of the bug. Ditto my old laptop. It makes me suspect there is something non-firefox happening. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 918019] Re: Firefox does not use default application to open binary files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So far, that I can say, the workaround did the trick. I stll have some issues with mime-type recognition (for example links get opened in firefox/iceweasel by default. When it's an https-Link epiphany will spawn instead ...) I think the mime-type handling in Gnome/Nautilus/Firefox is alltogether a little hacky and incomplete. Maybe different implementations are mutually exclusive but forced to live together … ? That much from me. tnx quequotion martin Am 09.11.2012 00:57, schrieb Joshua Montee: > I have been plagued by this problem for at least a year. It was a > motivating factor in upgrading my system from 11.04 to 12.04, and > to my dismay, the install of 12.04 worked properly for a while... > then went back to opening Excel files in gedit. > > Thanks a MILLION, quequotion... your suggestion fixed my problem. > > Apparently this problem rears its ugly head in several ways. Like > Martin Lorenz (martin-lorenz), I didn't encounter this issue in > Firefox. I encountered this running both 11.04 (Gnome Classic > environment) and 12.04 (Gnome fallback session environment). > Specifically, when I would drill down through the Gnome panel/bar > at the top, under Places, then under Recent Documents if I > clicked an Excel (xls) file that was located on a network share, it > would always open in gedit. I think I also saw this happen with > Word (.doc) files, too, but I hardly ever use those. > > Whenever this annoyed me enough, I tried to figure out the cause > via Google... apparently today was my lucky day! Thanks again > quequotion!! > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQnLF1AAoJECZ8myNlGwU1YZEH/RUv7wCsqNME57gusYK3PayM YkdLoCTGVSB6bZWh00p0+d2KRM/8O9BqjR97qXWtebBV9Z7tZIFcl4HOYeSYdARy 5UR583Nw3wGrmTLxqXe2I7Odyb8Ny/3BzN7c7gF2rAF7y+48yGVFLBWYVT4vIjxk jO8oQGDpD9yya6wM4bBaLNvZFJnUZ+SiWtWFATSL0Ew6CA9wr+t5S2u1ksgfRAMb h/mfpkFIGY2QOv2lzFIym9zIUB+fo1kSS0sP8zRaIpEz4EBfhM0OWYkgrQPGZUSK mQy6mSJYYi1bE8FCOZSIW18mdurGgLLEaMt8Kw+CYzGSFdMt9Boms7RQy45ijLc= =as1L -END PGP SIGNATURE- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
I have been plagued by this problem for at least a year. It was a motivating factor in upgrading my system from 11.04 to 12.04, and to my dismay, the install of 12.04 worked properly for a while... then went back to opening Excel files in gedit. Thanks a MILLION, quequotion... your suggestion fixed my problem. Apparently this problem rears its ugly head in several ways. Like Martin Lorenz (martin-lorenz), I didn't encounter this issue in Firefox. I encountered this running both 11.04 (Gnome Classic environment) and 12.04 (Gnome fallback session environment). Specifically, when I would drill down through the Gnome panel/bar at the top, under Places, then under Recent Documents if I clicked an Excel (xls) file that was located on a network share, it would always open in gedit. I think I also saw this happen with Word (.doc) files, too, but I hardly ever use those. Whenever this annoyed me enough, I tried to figure out the cause via Google... apparently today was my lucky day! Thanks again quequotion!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
In my case, firefox tries to open pdf file using emacs which is NOT my default viewer for pdf file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
"me too". Firefox tries to open zip files in gedit. In Nautilus they are correctly associated to file-roller. Removing this line seemed to fix the issue: application/octet-stream=gedit.desktop;inkscape.desktop; I believe the bug is NOT in Firefox, but in whatever adds the line to the mimeapps.list. It should be in sync with the file associations used by Nautilus. I don't know enough details of this mechanism to suggest the correct fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 918019] Re: Firefox does not use default application to open binary files
** Summary changed: - Firefox does not use default application to open PDF files + Firefox does not use default application to open binary files -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs