20 May 2012


  • del.icio.us links
    • Delicious.com - Discover Yourself!

      or

      type in an email address or username:

      (tip: share with multiple people at once by comma separating the recipients)

      attach a message (optional)

      are you sure you want to remove this link?
      something bad happened. do you wanna see?

      we currently have limited support for your browser. for the best experience on delicious, we recommend using firefox.

      check our beta status blog for updates on the transition

      html has no links with the tags: rudeboy/.

    • more | feed
  • Categories:

  • December 2005
    S M T W T F S
    « Nov   Jan »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • Archives:
  • Meta:


    • WARNING! You are under surveillance

20 December 2005

Mutt for mailto links in Firefox

7:26pm by rudeboy in category: Linux

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:

#!/bin/sh
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.

» 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.

EGOTIST, n.
A person of low taste, more interested in himself than in me.