LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   alsamixer command line (https://www.linuxquestions.org/questions/linux-software-2/alsamixer-command-line-812707/)

aayu09 06-07-2010 01:09 PM

alsamixer command line
 
I try to use the alsamixer command line using script as follows:

Code:

#!/bin/bash
./alsamixer set Master 10%+ > /dev/null
exit 0

It is not working as I expected as I have to hit Control-C to exit the script. How can I do it using script without any user intervention?

Thanks

aayu09

John VV 06-07-2010 01:35 PM

?? why are you sending the output to /dev/null ?
that seams odd

aayu09 06-07-2010 01:46 PM

As I don't need to see the graphic bars and only using command line to increase or unmute the volume. I saw this command:

./alsamixer set Master 10%+ > /dev/null

from an some post on this forum a few years ago, not sure if this is the right approach.

thanks,

aayu09

jlinkels 06-07-2010 06:43 PM

alsamixer is the console GUI version.

You want amixer

jlinkels

aayu09 06-08-2010 08:25 PM

I downloaded the alsa-utils-1.0.23, built it, and worked fine. Thanks for the info.


All times are GMT -5. The time now is 10:06 AM.