Topic is the question.


  • FOSS of course
  • Independant of desktop environments
  • is compliant with the Association between MIME types and applications standard
  • Has optionally a neat GUI (my application uses mimeapps.list and I want to refer my user to a userfriendly way to change default apps)

Found the cli tool. A GUI would still be nice to have...

$ xdg-mime query filetype foo.jpg                # Get the mimetype of the file
$ xdg-mime default gwenview.desktop image/jpeg   # Set a new association

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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