How do you remove an xdg-mime default association?

1.2k views Asked by At

So xdgmime default foo.desktop application/x-foo will associate a mime type in ~/.local/share/applications/mimeapps.list like this:

[Default Applications]
...
application/x-foo=foo.desktop

What is the "proper" way to remove the association?

I just edited the file with vim, deleted the line, and it worked, but xdg-mime has install/uninstall for other purposes so is there a "right" way to remove the default?

0

There are 0 answers