it's not a shared-mime-info issue, on a GNOME session the result is right $ xdg-mime query filetype index.py text/x-python
** Package changed: shared-mime-info (Ubuntu) => kde-cli-tools (Ubuntu) -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kde-cli-tools in Ubuntu. https://bugs.launchpad.net/bugs/1857824 Title: kmimetypefinder5 misidentifies mimetype of python files containing certain strings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kde-cli-tools/+bug/1857824/+subscriptions -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs