this post was submitted on 26 Jul 2023
5 points (100.0% liked)

KDE & Plasma users

2786 readers
3 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE's software runs on GNU/Linux, BSD and other operating systems, including Windows.

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Knusper@feddit.de 3 points 2 years ago (2 children)

If you right-click on a file and select "File Properties", then on the General-page, to the right of the "Open With"-row, there should be a "Change..."-button. Can you fix the mime-type association with that?

I mean, chances are that it calls the same code as the System Settings Module, but maybe still worth trying...

[โ€“] pglpm@lemmy.ca 2 points 2 years ago

I had never seen that menu before, thank you!! I'll try that and report back.

load more comments (1 replies)