Find the answer to your Linux question:
Results 1 to 4 of 4
Does anyone know how to turn off sound via command line? I want to be able to have this as an automatic setting for when the computer boots. Thanks in ...
  1. #1
    Linux User
    Join Date
    Aug 2005
    Posts
    408

    Command Line: Turn off sound

    Does anyone know how to turn off sound via command line? I want to be able to have this as an automatic setting for when the computer boots.

    Thanks in advance.

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    If you have alsa, you can use the amixer program. It may be as simple as
    Code:
    amixer set Master mute
    Stand up and be counted as a Linux user!

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    71
    if you want to disable sound altogether....

    you can stop alsa
    /etc/init.d/alsa stop

    or you can even take it out of the startup scripts in /etc/rcS.d

  4. #4
    Linux User
    Join Date
    Aug 2005
    Posts
    408
    awesome. I'll try that. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •