[xmonad] how to get google chrome to open midi files with timidity

Sean Neilan sean at seanneilan.com
Wed Apr 21 23:28:18 EDT 2010

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.


On Wed, Apr 21, 2010 at 9:42 PM, <wagnerdm at seas.upenn.edu> wrote:

> Quoting Sean Neilan <sean at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20100421/8acf9967/attachment.html

More information about the xmonad mailing list