How to add a mime type for actionscript to Ubuntu/Mint and edit them with gedit

On the latest ubuntu/mint installs, .as files show up as a file type of Applix Spreadsheets. The following instructions will add an actionscript mime type and set up syntax highlighting for gedit in gnome3 and cinnamon.

Create /usr/share/mime/packages/actionscript.xml with your favorite text editor.

Copy and paste the the following into actionscript.xml

Optional: for gedit support, do the following:

Finally, update your mime database:


, , ,

Leave a Reply

Your email address will not be published. Required fields are marked *