How I open mailto-links in Mutt with qutebrowser
This is what I did, to make mailto-links open in Mutt, using my web browser qutebrowser. I think, it should work for all web browsers, and I don’t think that you need to anything more than this. Feel free to correct me, if I’m missing something.
I first created a desktop entry file called mutt.desktop
, in the folder ~/.local/share/applications/
, with the following content:
[Desktop Entry]
Type=Application
Name=Mutt
NoDisplay=true
Exec=/usr/bin/urxvt -e mutt %u
Terminal=true
FIY: If you use a desktop environment, and want a fancy shortcut for Mutt, you could consider adding these values as well:
Icon=email
Categories=Internet;
StartupNotify=true
I then added the following content to the file ~/.config/mimeapps.list
:
[Default Applications]
x-scheme-handler/mailto=mutt.desktop;
And then everything just worked for me.
Thanks for this post. Have been looking for something like this for a while now.
For those with multiple Mutt accounts, i suggest looking into this other post in beune.dev (https://beune.dev/posts/mailto-neomutt/) which complements yours quite well.