Can't use custom launchers for file associations

Bug #702938 reported by Shimi Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: firefox

I have set up Microsoft Office 2007 under wine and I have managed to change the gnome file associations to open with Microsoft Office instead of OpenOffice.org but Firefox doesn't seem to be convinced it is a real application.

I tried deleting mimeTypes.rdf so it would pull the settings from gnome when I restart but it didn't help. It still shows no other option than OpenOffice.org.

I also tried telling firefox to open with the word 2007 launcher from ~/.share/local/applications and also the xml file "msword" from ~/.share/local/mime with no help. It just doesn't do anything.

In addition, I tried to make a bash file with the same command as the file association from gnome with no effect as well.

After choosing to open with one of the above nothing happens and if I double click on the file in the "Downloads" window it opens with OpenOffice.org.

I'm filing this as a bug with Firefox because the associations work fine both in nautilus and when opening a downloaded file through chromium.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelModules: fglrx wl
Architecture: amd64
Date: Fri Jan 14 18:12:03 2011
FirefoxPackages:
 firefox 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-gnome-support 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 firefox-branding 3.6.13+build3+nobinonly-0ubuntu0.10.10.1
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
Shimi Chen (shimi-chen) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in firefox (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Shimi Chen (shimi-chen) wrote :

I have found a workaround for my specific problem:

gksu gedit ~/.local/share/applications/defaults.list
Add line:
application/msword=wine-extension-doc.desktop
Under [Default Applications](previously empty)
Followed by(in terminal):
update-desktop-database ~/.local/share/applications

But shouldn't this(or something equivalent) be done by Ubuntu once I select it as my default application to open .doc files in nautilus?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.