got it.<div><br></div><div>found out that when I run xmonad over x11, you have to modify the xdg-open script because it won&#39;t call gnome-open.</div><div><br></div><div>-Sean<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 9:42 PM,  <span dir="ltr">&lt;<a href="mailto:wagnerdm@seas.upenn.edu">wagnerdm@seas.upenn.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Quoting Sean Neilan &lt;<a href="mailto:sean@seanneilan.com" target="_blank">sean@seanneilan.com</a>&gt;:<br>


<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m just wondering if other users of xmonad have been through the process of<br>
getting files to open with specified programs. like, when I click on a<br>
downloaded midi file in google chrome, I&#39;d like it to run timidity on that<br>
</blockquote>
<br></div>
Chrome just calls xdg-open. Have a read through the xdg-open source code (it&#39;s a quite readable bash script). If you&#39;ve got Gnome, KDE, or XFCE running, it will use the corresponding openers, so you should just set the default application using that DE&#39;s settings widget. Otherwise, it&#39;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.<br>


<br>
Cheers,<br>
~d<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/xmonad" target="_blank">http://www.haskell.org/mailman/listinfo/xmonad</a><br>
</blockquote></div><br></div>