got it.

found out that when I run xmonad over x11, you have to modify the xdg-open script because it won't call gnome-open.

-Sean

On Wed, Apr 21, 2010 at 9:42 PM, <wagnerdm@seas.upenn.edu> wrote:
Quoting Sean Neilan <sean@seanneilan.com>:

I'm just wondering if other users of xmonad have been through the process of
getting files to open with specified programs. like, when I click on a
downloaded midi file in google chrome, I'd like it to run timidity on that

Chrome just calls xdg-open. Have a read through the xdg-open source code (it's a quite readable bash script). If you've got Gnome, KDE, or XFCE running, it will use the corresponding openers, so you should just set the default application using that DE's settings widget. Otherwise, it's trying $BROWSER, then firefox, then a few other fallbacks, so just set $BROWSER to something that knows how to choose the right program for its argument and rock on.

Cheers,
~d
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad