Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way / application to add a file extension / mime-type to the system. What I want to achieve is:

  • Have a default program for opening files of this type
  • Have a special icon for this filetype
  • let file output the type of a file of this file in a more specific way.

Is there an way to achieve this?

share|improve this question
@dv3500ea: But how to get this fancy icon in nautilus? – FUZxxl Sep 19 '10 at 12:02
The link I gave you tells you how to do this at the bottom: <>; – dv3500ea Sep 19 '10 at 12:16
up vote 4 down vote accepted

You need to:

  1. Add a new mime type

  2. Associate that mime type with a program: xdg-mime default APPLICATION MIMETYPE(S) (see man xdg-mime for more details).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.