Switching on/off the sound from the command line

Vikram Goyal vikigoyal at gmail.com
Mon Oct 24 00:44:00 UTC 2005


-----Original Message-----
From: Paul Smith <phhs80 at gmail.com>
Sent: Sun, Oct 23, 2005 at 04:55:11PM +0100
To For users of Fedora Core releases
Subject: Re: Switching on/off the sound from the command line


> On 10/23/05, Vikram Goyal <vikigoyal at gmail.com> wrote:
> > Maybe this may suffice...
> >
> > Add these 2 lines to your ~/.bashrc
> >
> > alias mute='amixer set Master mute'
> > alias unmute='amixer set Master unmute'
> 
> Thanks, Vikram. But how can one mute the computer's sound at the
> startup, automatically?
> 
> Paul
> 
> 
> 
> ------------------------------
> 

You will have to add the line below to /etc/rc.local

/usr/bin/amixer set Master mute

HTH
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Now it's time to say goodbye
To all our company...
M-I-C	(see you next week!)
K-E-Y	(Why?  Because we LIKE you!)
M-O-U-S-E.
-- 
 .
 *
~|~
 =
Registered Linux User #285795




More information about the fedora-list mailing list