Thursday, April 02, 2009

Control the sound from linux command line

Mute the sound
> amixer set Master mute
Unmute the sound
> amixer set Master unmute

Mute the pc speaker
>modprobe -r pcspkr
Unmute pc speaker
>modprobe pcspkr

No comments:

Post a Comment