So I've decided, that I want to make a custom file icon for .ts (typescript) files. I followed this tutorial. I made my own icon, my own xml, did everything as it was said and it didnt work. I then realised that file manager is telling me, that .ts files are "message catalogues". My output from
xdg-mime query filetype "source.ts" is
I tried to delete that file using
sudo rm '/usr/share/mime/text/vnd.trolltech.linguist.xml' and it deleted it. Then I ran
sudo update-mime-database /usr/share/mime/ to apply changes, and that created the file again. What can I do to remove that file forever, so I can have my custom .ts file icon for my typescript files?