How to add a new Mime type and associate it with a new application?

I have a new file type ".xy2" and I would like to associate it with a custom "shim". Does anyone know how to do this on Linux?

thank

+5
source share
1 answer

In case someone is facing the same problem. I found the answer:

+5

All Articles