Which config-file stores file associations in KDE/Plasma?
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:
application/xml=kde4-kwrite.desktop
You can also change these associations with the kcmshell4
tool (see also):
kcmshell4 filetypes
Related videos on Youtube
burnpanck
Currently doing a PhD in Physics. I enjoy to (over-) engineer things: I like FPGAs and highly optimised low-level code. If possible, using as much meta-programming as possible, be it C++ template meta-programming or dynamic AST modification in python. Rather spend two days coding an elegant solution than to do copy-paste more than once.
Updated on September 18, 2022Comments
-
burnpanck almost 2 years
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?
-
burnpanck almost 9 yearsThis 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. saytext/x-bibtex
? -
Sparr over 5 yearsThis answer doesn't seem complete. This file does not represent all of the associations configured for me.