I’d like to change the preferred-application order for some mimetypes/file extensions, and trying to do that through the “File associations” tab of the System Settings Module. But the changes don’t stick.

A look at .xsession-errors shows that some files must be corrupted. For example I see (NB: this isn’t the mimetype I’m trying to change):

Mimetype Comment Dirty: old= "application/vnd.amazon.mobi8-ebook" m_comment= "Amazon KF8 ebook format"
Entry  "application/x-mobi8-ebook"  is dirty. Saving.

and similarly for several other obscure mime-types (e.g. “x-x509-ca-cert”).

I’ve tried a reset as described here, by renaming the ~/.local/share/mime directory, creating a new ~/.local/share/mime/packages/ one, and calling update-mime-database ~/.local/share/mime. But it doesn’t help. I manage to do and save one change in the File Associations settings, but after that, other changes won’t stick anymore.

Something seems corrupted upstream.

Any suggestions? Cheers!

  • stravanasu@lemmy.caOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    It does seem to work, thank you very much! I’ve also been deleting some desktop files that were corrupted (although not used by any mime type), that may have also helped.