Re: Switching on/off the sound from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/17/05, Craig McLean <craig@xxxxxxxxxxx> wrote:
> > Is there some simple way of switching on/off the sound from the command line?
> >
>
> If you are using alsa, then "amixer set Master mute" should do the
> trick. 'man amixer' for more information.

Thanks, Craig and Andy. The way suggested by Craig works fine. To
unmute, one has to replace "mute" by "unmute" in the command

amixer set Master mute

Andy's script has the following problem:

$ ./volume --mute
: bad interpreter: No such file or directory
$

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux