Switching on/off the sound from the command line

Paul Smith phhs80 at gmail.com
Mon Oct 24 09:26:36 UTC 2005


On 10/24/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?
>
> You will have to add the line below to /etc/rc.local
>
> /usr/bin/amixer set Master mute

Thanks, Vikram. It works fine.

Paul




More information about the fedora-list mailing list