
Jim - I may have missed it, but I think you said only that it "doesn't work" but didn't elaborate.
Does running the script result in any error messages? No, because I am running the script by clicking on it there are no error messages. And it runs fine if I run on the commandline ie ./scriptname .
Or does it appear to work but not have the desired effect?
Is your script file executable? i.e. are the x permission bits set in the output of "ls -l filename"? Yes x permissions are set.
Could it be that you're expecting your script to be in your PATH, and it isn't e.g. if you run prompt% scriptname does it say command not found? Do you need to run it with ./scriptname?
You mentioned that you want it to be clickable. I'm relatively unfamiliar with alsa, but is it possible it needs something from the environment that isn't available when clicked?
Hmm, not sure what this would be. Because I am clicking the actual file it PATH shouldn't be an issue. Thanks for thinkig about it. Jim