12

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?

David Foerster
  • 36,264
  • 56
  • 94
  • 147
FUZxxl
  • 1,503

1 Answers1

6

You need to:

  1. Add a new MIME type
  2. Associate that MIME type with a program (see man xdg-mime for more details):

    xdg-mime default APPLICATION MIMETYPE(S)
    
Pablo Bianchi
  • 15,657
dv3500ea
  • 37,204