Adding a file extension to gedit in Ubuntu
posted on 20th Nov, 2011
To add a new extension, edit this file below
gksudo prevents graphical applications from taking ownership of the file.
Search the mime type for text/html
Add the new file extension in the mime type definition
And finaly reload the system mime types