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.typesassociated with tex istext/x-tex. The entry in/etc/mime.typesfor this is as follows:text/x-tex tex ltx sty clsThus 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.typeschanging the above line totext/x-tex ltx sty clsand then entering another line:application/tex texand then putting a special icon fileapplication-tex.svgin/usr/share/icons/gnome/scalable/mimetypeand then updating the icon cache (logging out and in again). But that did not show the icon for tex files.
Help will be appreciated!