Installation ------------ 1) Copy metapost.lang in the directory : ~/.local/share/gtksourceview-2.0/language-specs . 2) Copy metapost.xml in the directory : ~/.local/share/mime/packages 3) Go to the directory ~/.local/share and run: update-mime-database mime 4) Restart Gedit.