I have been looking for an answer for this and couldn't find one. I am trying to mute/un-mute the built-in speakers of my computer from the command line without affecting the external speakers connected to the output jack of the sound card.
So far I found these commands to mute/un-mute from the command line, but both commands also mute/un-mute the external speakers:
pactl set-sink-mute 1 0
amixer sset Speaker mute
I am running Ubuntu 13.10 on a dell optiplex 760 Pentium 4
The sink 0 device is the HDMI audio output of the nVidia video card, but I'm not interested in that one for this script.
It seems the sink 1 device controls both the builtin speakers and the external output speakers. I can´t find a way to distinguish between both. Any ideas?
If you need more information that can point me to a solution please let me know.
pavucontrol
? Maybe you need to install it.