Eric D. Schabell: Fedora 15 - howto set default application for open document formats to LibreOffice

Thursday, July 21, 2011

Fedora 15 - howto set default application for open document formats to LibreOffice

My new installation of Fedora 15 seems to have a problem finding the right application to start for all the OpenOffice or open document formatted files. She needs to be using Libreoffice, but starts Calibre app on my machine. The standard assignment of default applications via System Settings is only for a small set of applications, so you need to dive into the configuration files like this:


# Fix system wide in /usr/share/applications/defaults.list

# by changing all 'openoffice.org' entries into 'libreoffice'

# with for example in VIM this cmd:

#

:%s:openoffice.org:libreoffice:g



# Fix in local user settings with ~/.local/share/applications/mimeapps.list

# but you will most likely need to copy the above entries into

# your local settings.