KDE's mime management is totally messed up.
.xlxs is opened by ark.
.js is opened by default image viewer
.html is opened by Inkscape.

@EdwardTorvalds I just tried xdg-open on an html file, and it opened in Chrome, while a .js file opened in Kate. Same in Dolphin.

Dolphin 19.08.2
Plasma 5.16.90
KDE Frameworks 5.63.0
Qt 5.14.0


@EdwardTorvalds Create a new user and login with it. If it's messed up there too, your distro has an issue. If it works fine, then your home as an issue. Start deleting (or renaming) stuff under ~/.cache, ~/.local or ~/.config until you find the culprit.

I'd begin with .config/mimeapps.list...

@codewiz I tried deleting .config/mimeapps.list, but it did not solve the problem. Also I don't have time to mess with my system anymore, I just want it to work like magic.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!