Jiritorto Wrote:
>Yeah, I noticed that, which was a major reason I brought this up. The work is
>almost complete to >support this, but missing some little undocumented tweak.
>I can't find the piece that allows the user >to specfy "upon receiving a .wav,
>execute this binary with this argument." What ever happened to >that? It was a
>part of Netscape forever, wasn't it?
Firefox does'nt work like that, It pops up a dialouge the first time
you actually try to
run a new media type an then you will have to make the right selection for
the player.
Now the happy part!
Do an "open file" in firefox and select to open /usr/share/sounds/login.wav
In the pop up dialoge select to play it with /usr/bin/audioplay
select to "always use audioplay for wav files"
Thats it , your done, it works to !
atleast on Nevada SXCR 52 with vermillion53 and firefox 2.0
which I am running presently.
You have now made an entry to your
$HOME/.mozilla/firefox/*default/mimeTypes.rdf file
This XML file is not something you would like to edit by hand
but when you have collected an appropriate amount of mimeTypes settings
you can ( as root ) copy it over to the master firefox directory
Now were that is depends on which solaris version you have
could be
/usr/sfw/lib/firefox
or
/opt/sfw/lib/firefox
or somwhere else.....
I tend to roll my own firefox so I have it in
/opt/firefox/defaults/profile/mimeTypes.rdf
After you put a decent mimeTypes.rdf file inplace
in the top Firefox structure all
users will benefit and then dont have to know to use
/usr/bin/audioplay for wav files.
Regards
//Lars
This message posted from opensolaris.org