With the 15.04 release of Kubuntu, I switched from Gnome (Ubuntu) to KDE/Plasma. I did a clean install, while keeping my home directory. Now, libreoffice (mostly Calc) seems to be associated with every unknown file-type. Instead of manually fixing the associations for every file I encounter, I'd rather understand what went wrong and fix it by looking at the corresponding config file that KDE/Plasma uses. Which config-file is it?

1 Answer 1


KDE stores its mimetype mappings in ~/.local/share/applications/mimeapps.list, so you might want to have a look at that file. Each line containe a mimetype followed by an = and the application to use, for example:


You can also change these associations with the kcmshell4 tool (see also):

kcmshell4 filetypes
  • This file seems to only list changes I manually did from within Dolphin, particularly it has a section [Removed Associatsion], listing libreoffice several times. What from do I remove libreoffice? Why do I have to remove libreoffice from e.g. say text/x-bibtex?
    – burnpanck
    Jun 30, 2015 at 20:56
  • This answer doesn't seem complete. This file does not represent all of the associations configured for me.
    – Sparr
    Mar 11, 2019 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.