In Ubuntu 12.04 with all mate, cinamon, gnome, unity desktops, the following issue:
I use Latex frequently. My files end with extension
.tex
. Themime.types
associated with tex istext/x-tex
. The entry in/etc/mime.types
for this is as follows:text/x-tex tex ltx sty cls
Thus the icon associated with tex files is the generic icon for all files of text category. I would like to have a special icon for all tex files only. It will make the things easier in finding from a folder which are tex files. How do I achieve it?
I have tried editing
/etc/mime.types
changing the above line totext/x-tex ltx sty cls
and then entering another line:application/tex tex
and then putting a special icon fileapplication-tex.svg
in/usr/share/icons/gnome/scalable/mimetype
and then updating the icon cache (logging out and in again). But that did not show the icon for tex files.
Help will be appreciated!
text/*
mimetypes. See also askubuntu.com/questions/589833/…