Skip to content

Instantly share code, notes, and snippets.

@ozooxo
Created March 4, 2014 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozooxo/9350235 to your computer and use it in GitHub Desktop.
Save ozooxo/9350235 to your computer and use it in GitHub Desktop.
Add matlab mime.types

My ubuntu just detects all .m files as Objective-C source code (text/x-objcsrc), so I'd like to add matlab mine.types to it. So I sudo gedit /etc/mime.types and add a line text/x-matlab m. If I want to automatically start matlab IDE, I should also add application/matlab m.

However, it seems not working at least in Ubuntu 12.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment