How can I chnage default application for extension with a given application already assigned to them?

I have these default apps set up in my system (xfce)

I would like to change all fo ones that have “Atom” as default to the default Text Editor

How can I do that without going after each one of them?

You can use your favourite text editor (Atom, really? okay, I guess…) to edit this file:

~/.config/mimeapps.list

That’s where all your user’s custom associations are normally stored.

If an entry is missing, you can copy it from:

/usr/local/share/applications/mimeapps.list

That’s where distribution defaults are stored, your user’s file overrides this.

For more info, read:
https://wiki.archlinux.org/title/XDG_MIME_Applications

3 Likes