0

I have Xubuntu 16.04 on my Chromebook using Crouton. I am trying to enable my multimedia keys to work. I was able to get the volume up and down keys working respectively with:

'pactl set-sink-volume @DEFAULT_SINK@ -5%'

'pactl set-sink-volume @DEFAULT_SINK@ +5%'

What is the command to mute volume?

  • 1
    I think it is set-sink-mute 0 1 to mute and set-sink-mute 0 0 to un mute, from command line. – hatterman Aug 5 '18 at 1:33
0

Mute:

pactl set-sink-mute @DEFAULT_SINK@ 1

Unmute:

pactl set-sink-mute @DEFAULT_SINK@ 0
| improve this answer | |
  • I actually got it with this. As this will bind a single key to mute/unmute which is what I needed.: pactl set-sink-mute @DEFAULT_SINK@ toggle – undyinglight May 8 '19 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.