Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wanted to start mutt in terminal , when I click on some 'mailto' tag in a webpage , is that possible ? Currently Firefox starts , which I really don't favor , it's slow loading , and unnecessary.

share|improve this question

migrated from serverfault.com Aug 16 '11 at 13:23

This question came from our site for system and network administrators.

2 Answers 2

First you need to ensure that there's a .desktop file which is required by the XDG specification. For GUI programs the chance is good that there already is a suitable .desktop file, for terminal applications usually you have to create your own one. Check out the directory /usr/share/applications for existing files. Maybe there is already a mutt.desktop file. If there isn't, create one.

Then edit the file ~/.local/share/applications/mimeapps.list and add the following line

[Default Applications]

This registers mutt with the mailto handler. You can confirm a successful registration with

xdg-mime query default 'x-scheme-handler/mailto'

which should output mutt.desktop. Now you can click on “mailto” in chromium and a terminal should pop up with a mutt instance. No need to even restart the desktop session or the browser.

share|improve this answer

Which desktop environment are you running? You need to check it's MIME type handler's settings on how to set a specific handler for these kind of things.

share|improve this answer
OpenBox , i just don't know how to get the mimetype , it's not a file , i can't just run 'mimetype /path/to/file' to identify it –  warl0ck Aug 16 '11 at 12:55

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.