Firefox, Sound, and Kubuntu
by JS
I finally figured out how to get Firefox to cooperate with the KDE sound system. All I had to do was find out where the Firefox binary was actually executed (this call isn’t easy to find unless you are familiar with browsing through shell scripts) and put artsdsp before the binary name. This is still black magic to me, but I suppose that artsdsp routes all sound device requests through the KDE sound system.
The critical section (in run-mozilla.sh):
##
## Run the program
##
artsdsp "$prog" ${1+"$@"}
Just one more example of how Linux is a power tool. Don’t mess with it unless you know what you are doing.