GUI wrapper for timidity -ig with Firefox

Andre Mangan andremangan at gmail.com
Tue Sep 11 05:04:13 BST 2007


It makes no difference which version of Firefox I use.  In version 1.5, the
file associations are in "Edit - Preferences - Downloads" and in version 2,
they are in "Edit - Preferences - Content.  The only file displayed there is
an SPL file to be opened with Shockwave Flash.

If I reset the midi file association to Firefox I get 83 new tabs opening
(totally out of control) but no music.

Is there a way to add files to the "helper file" box?

I am going grey trying to work this one out - even with the detailed help
from you, Peter.

Cheers,
Andre



On 07/09/2007, Andre Mangan <andremangan at gmail.com> wrote:
>
> I am using Firefox version 1.5.0.12.which does not seem have a selector
> for file types (at least not one I can find).  Will try version 2 later
> today.
>
> Cheers,
> Andre
>
>
> On 07/09/07, Peter Garrett <peter.garrett at optusnet.com.au> wrote:
> >
> > On Fri, 7 Sep 2007 11:51:43 +1000
> > "Andre Mangan" <andremangan at gmail.com> wrote:
> > [snip]
> > >  Also, if accessing a midi file from the
> > > web via Firefox, the first time it is accessed, there is no GUI but
> > the
> > > second and subsequent times there is a GUI and the file can be
> > terminated.
> >
> > How very odd :)
> > >
> > > I will try your suggestion but need clarification on how to find the
> > > "helper" files in Firefox.
> > >
> >
> > Edit - Preferences - Content - File Types - Manage
> > Change the setting for "MID" to the path for the wrapper, for instance
> > /home/andre/bin/timidity-wrapper   or whatever you name the file.
> >
> > I noticed the first run is "glitchy" at the beginning here - presumably
> > because the file needs to download fully to /tmp . This seems to fix
> > that
> > issue:
> >
> > #------------------------------------------------------------------------------#
> >
> > #!/bin/bash
> >
> > #wrapper for timidity
> > # Uses the gtk interface from timidity-interfaces-extra
> > # You can use the athena version with -ia
> > # You *must* give the full /usr/bin/timidity path or it will hang and
> > # freeze everything ( I'm not kidding - I found out the hard way)
> >
> > TMP="$@"                  #This is where FF puts the midi file
> >
> > sleep 1                       # Give it a moment to download properly
> >                                   #( make this sleep longer if needed )
> >
> > /usr/bin/timidity -ig "$TMP"
> >
> >
> > #-------------------------------------------------------------------------------#
> >
> > Peter
> >
>
>
>
> --
> andremangan at gmail.com




-- 
andremangan at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-au/attachments/20070911/eb2adf7f/attachment.htm 


More information about the ubuntu-au mailing list