CrossOver Support

Office 2007 file associations don't work with Managed Bottles in Ubuntu


With this particular problem, double-clicking on .doc/.docx files works just fine with a standard, single-user installation of Office 2007 in Ubuntu 11.x (and up) but these associations fail with managed bottles.

The system wide default mime associations are provided in /etc/gnome/defaults.list. That file controls which application is preferred for any given mime type.

We establish our defaults in /usr/local/share/applications/defaults.list.

Unfortunately, Ubuntu has it configured so that the system choices overrule the /usr/local/share choices, which is not considered 'correct' behavior.

There are two ways you can adjust for this.

1) The first is to modify /etc/gnome/defaults.list and to basically copy in every mime type you'd like from the
/usr/local/share/applications/defaults.list file.

2) The second, and much easier, way would be to modify this file:

 /etc/X11/Xsession.d/55gnome-session_gnomerc

to change the order the defaults files are pulled in. There is a line within the above file that reads something like this:

 XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share:/usr/share

if you change that to instead be:

 XDG_DATA_DIRS=/usr/local/share:/usr/share/gnome:/usr/share

Then the CrossOver assignments should take precedence.
Last modified on 2012-01-31 15:48:20 by Jack Phinney
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/linux/faq/ubuntumanaged
Please Wait...
eyJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNTIxMDQwODU5fQ==