LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2004, 04:39 AM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
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.
 
Old 07-08-2004, 04:47 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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.

Cool
 
Old 07-08-2004, 08:32 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.

Last edited by slakmagik; 07-08-2004 at 08:34 PM.
 
Old 07-08-2004, 10:50 PM   #4
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
Howdy guys,

Need some help with alsamixer here...
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...

Cheers~
~WiLL~
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring video settings from command line stannnn Linux - Newbie 1 06-19-2005 04:33 PM
command line or console Audio Cd Player perfect_circle Slackware 4 02-15-2005 12:50 PM
command line tool to control volume? infected Programming 4 09-02-2004 08:58 AM
Command line DNS settings nateDiggsCSU Linux - Software 1 08-28-2004 04:29 PM
how to burn audio cd from command line rip Linux - Software 2 05-14-2003 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration