title: How do I register a file association in Ubuntu
body: <p>I'm in the process of creating a Ubuntu Installer and I need to register my own file extension  I cant find any examples of how to do this.</p>
  
  <p>Could people provide me with some script snippets on how to do this? </p>
  
  <p>NB: Im using <a href="http://www.installjammer.com/" rel="nofollow noreferrer">InstallJammer</a> to help me create the installer, which allows me to call external scripts - so that is why a script would be beneficial.</p>