-   Linux - Newbie (
-   -   How to change volume/audio settings using the command line? (

brynjarh 07-08-2004 04:39 AM

How to change volume/audio settings using the command line?
How do I change the volume for everthing using only the command line?
And where are any audio config files? I don't see no audio device in the xorg.conf file.

MasterC 07-08-2004 04:47 AM

What kind of soundcard do you have? Are you using ALSA or the kernel audio module? Which kernel? There are options for using the command line, but I think probably the easiest, assuming ALSA, would be to use the alsamixer which uses ncurses to give a gui look from the command line. You can also of course use the asoundrc file, again, I believe is ALSA specific.


slakmagik 07-08-2004 08:32 PM

alsamixer, like MasterC says, or amixer is a CLI version. There's rexima and aumix has an ncurses (maybe CLI, too?) version. Probably several others. I use alsamixer interactively (it looks so cool :) ) and amixer in scripts and whatnot - who needs the extra junk when alsa does it well and you're going to have alsa anyway? But if you're using OSS, then probably rexima or aumix.

-- Just remembered - aumix is CLI as well, definitely.

kenji1903 07-08-2004 10:50 PM

Howdy guys,

Need some help with alsamixer here... :D
I got sound working since I can see the sound modules loaded using lsmod
But when I start alsamixer from the console, it hangs with half the mixer bars displayed... i cannot hit Esc or do anything but close the console and start a new one...

Here are some relevant info, I'm running kernel 2.6.4, redhat 9, onboard via82xx, and alsa stuff version 1.04...
Also upgraded ncurses and ncurses-devel from from 5.3.4 to 5.4.5...

I have just downloaded version 1.05, going to try that later... In the mean time, i hope to veify the problem before moving on...


All times are GMT -5. The time now is 02:01 AM.