Artificial intelligent assistant

Add new file extension to existing (MIME) type In Nemo some "twig" files appear with the text icon whilst some appear with a web icon. I want all files with a "twig" extension to appear in Nemo like "html" files e.g. with a web icon. So I edited `/etc/mime.types` adding the "twig" extension to the html entry: text/html html htm shtml twig And then updated the MIME database using: sudo update-mime-database /usr/share/mime However it did not work, the twig files still have mixed icons. I am running Linux Mint version 18.1.

Use _freedesktop_ 's unified system to define a new association.
Write a new source xml file e.g.


~/.local/share/mime/packages/text-twig.xml


with the following content:




* * *

The above will alter `*.twig` files mime type for your current user. For a global change follow the same procedure replacing all occurrences of `~/.local` with `/usr`

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy ac377071c301c97cdb6c114444995838