You are not logged in.
Gui front-end like pavucontrol and Ncurses front-end PAmix support muting one port of output. However, I can't find any commandline method to achieve this. I need this to manually toggle my speaker port.
Offline
find your device
pactl list short my line out is "1"
to mute
pactl set-sink-mute 1 1to unmute
pactl set-sink-mute 1 0Offline
find your device
pactl list shortmy line out is "1"
to mute
pactl set-sink-mute 1 1to unmute
pactl set-sink-mute 1 0
set-sink-mute can mute one sink, but not one port. My sink has two ports: headphone and speaker
Offline
A port defines a different sink, so that is the correct answer. Of course granted you've moved the active port relevantly with a
pactl set-sink-port $portnameaslistedin pactl list sinksOffline
Not sure what you are trying to do but alsamixer is great cli as well. Just type alsamixer f6 for an other audio device.
Offline
ponyrider wrote:find your device
pactl list shortmy line out is "1"
to mute
pactl set-sink-mute 1 1to unmute
pactl set-sink-mute 1 0set-sink-mute can mute one sink, but not one port. My sink has two ports: headphone and speaker
Ahh your headphones and speakers at the same time. Alsamixer will work you can mute headphones or speakers or both of you want.
Offline