[NBLUG/talk] Fedora Core 2, xmms and volume control

Dave Sisley dsisley at arczip.com
Mon Jun 7 13:14:37 PDT 2004


On Mon, Jun 07, 2004 at 09:24:54AM -0700, Justin Thiessen wrote:

> Unless things are radically different from what I'm used to, you need some
> sort of small script that runs at startup (from one of the rc scripts) to set 
> the sound card volume levels.
> 
> Something like:
> 
> #Initialize default Volume settings
> /usr/bin/aumix -d /dev/mixer -v100 -w100 -s100 -p100 -l100 -c100
> 
> (nicked shamelessly from 
> http://www.linuxquestions.org/questions/showthread.php?threadid=98001)
> 
> 
> Alternately, you could simply put it in a wrapper for xmms like:
> 
> ---------
> #!/bin/bash
> /usr/bin/aumix -d /dev/mixer -v100 -w100 -s100 -p100 -l100 -c100
> xmms &
> --------
> 
> and call the wrapper script something like "runxmms"
> 
> The advantage of this is that you could have wrapper scripts for each of your
> sound-producing apps and individual volume settings for each...
> 
> Justin
> 

Justin:

Thanks for the tip.  Based on your response and a read of the aumix
man page, I tried adding your /usr/bin/aumix line to my /etc/rc.local
file.  I also tried (per aumix man page) copying my /home/.auxmixrc
file to /etc/aumixrc.  The rc file in my home dir has the volumes set
correctly.

None of these things worked.  What a pain in the tuchis.  I might have
to try your wrapper suggestion, except that the problem seems to be
happening at a lower level.  By this I mean that xmms should produce
sound, whether I am playing a CD or clicking on a link to a live radio
stream in my browser.  And other sound-producing apps should be
allowed to make sound by default, yes?

Could this have something to do with the little speaker icon that sits
in my [whatever you call the bottom of my screen where the running
apps are listed]?  To get the sound running, I have to right-click the
speaker icon and go to 'Open Volume Control' and then move the sliders
for PCM and PCM-2 to the top (this is a gnome app, by the way).  I
just don't get why the defaults for these would be zero.

-dave.

-- 
Dave Sisley
dsisley at arczip.com
roth-sisley.net




More information about the talk mailing list