Q: How to make Firefox open mailto: links with mutt in terminal All I want to do is pass mailto: links to urxvt -e mutt -F ~/path/to/muttrc with the rest of the mailto: URL appended.  I've tried every script I can find online that purports to do this, from simple:
#!/bin/sh
exec "urxvt -e mutt -F /path/to/muttrc \"$@\""

to complex, and the most they do is open a terminal window for a split second before it automatically vanishes again (and there is no evidence of a running mutt process).  Any suggestions?

A: Remove the quotes, or the shell will try to execute the full string as a command (which obviously does not exist).
#!/bin/sh
exec urxvt -e mutt -F /path/to/muttrc "$@"

Not tested, but the presence of quotes is the explanation for the vanishing of the terminal.
