Warning: Creating default object from empty value in /home/rudeboy/rudeboy.org/wp-includes/functions.php on line 292
rudeboy » Mutt for mailto links in Firefox
25 February 2018

Profile Info
  • html has no links with the tags: rudeboy/.

    See all links tagged rudeboy/
  • more | feed
  • Categories:

  • December 2005
    S M T W T F S
    « Nov   Jan »
  • Archives:
  • Meta:
  • 20 December 2005

    Mutt for mailto links in Firefox

    7:26pm by rudeboy in category: Linux

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/rudeboy/rudeboy.org/wp-includes/functions-formatting.php on line 76

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/rudeboy/rudeboy.org/wp-content/plugins/obfuscate-email.php on line 71

    A buddy of mine has been looking to switch to mutt from graphical mail client for it’s configurability, speed and stability. I didn’t get into setting up console mail apps in my last post because I didn’t think there was going to be much interest considering I only know four people who use mutt (and a few suckers who use emacs) for mail. I don’t use or like emacs so if you use it you’re on your own. However, if you use mutt this is how you set it up to be used as the mail app with Firefox.

    First off reopen the about:config dialog and find the network.protocol-handler.app.mailto setting as described in the last post. Instead of setting it’s value to the name of a client we set it to mutt_mailto.sh. Now, somewhere in your path (/usr/bin, /usr/local/bin, etc.) make the mutt_mailto.sh file. It’s contents are easy and should look like this:

    EXEC Eterm -e mutt "$@"

    The syntax is near identical for xterm. Just change the second line to EXEC xterm e mutt "$@". This should work with any app that accepts command line arguments and understand the standard “mailto:bofh@domain.com?subject=foobar” syntax.

    No Comments »

    No comments yet.

    RSS feed for comments on this post.

    Leave a comment

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

    » Venezuela sends 300 tons of food to Haiti. Bush sends 500 tons of bombs to Iraq. Chavez feeds, Bush kills.

    » Build a ‘Mame Brain‘ for under $150.

    » The case for net neutrality is pretty clear. Should it fail this is what you have to look forward to.

    "War paralyzes your courage and deadens the spirit of true manhood. It degrades and stupefies with the sense that you are not responsible, that 'tis not yours to think and reason why, but to do and die,' like the hundred thousand others doomed like yourself. War means blind obedience, unthinking stupidity, brutish callousness, wanton destruction, and irresponsible murder." -Alexander Berkman, What Is Communist Anarchism?