FC3 mute/unmute sound from command line?

RoboticGolem roboticgolem at gmail.com
Tue Jan 11 14:13:26 UTC 2005


On Tue, 11 Jan 2005 07:47:05 -0600, fedora-list at jamesplace.net
<fedora-list at jamesplace.net> wrote:
> 
> Is there a way to mute and unmute the master volume from the command line?
> I'd like to be able to do this via a cron job eventually.
> I've been hunting around, but so far no luck finding a way to do it.
> 
> Thanks much.
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
amixer cset numid=41 0%

Least on my card that will do it.  You'll want to run:
amixer controls
And look for the numid of what you want to mute(or you can control
everything).  Master Volume on my sblive is numid=41  so a simple
amixer cset numid=41 0% mutes it and 83% is where I normally keep it.

Hope this helps.
-Matt




More information about the users mailing list