Is there a way how to mute all sounds in browser only? I need it to be done from command line. I'm currently using alsa mixer for mute (command amixer set Master toggle), but I can't find any way how to mute browser and not the other apps.

  • 3
    As far as I know you can mute stream per application only via Pulseaudio. But I don't know how to do it via command line. Commented Oct 15, 2013 at 18:55

2 Answers 2


Doctoror Drive is correct, this can be done pretty simply with pulseaudio, but if you are using ALSA exclusively, it will be a much more difficult task.

With pulse, there are a variety of options. Both pacmd and pactl are capable of this, but it may seem overly complicated because of the significant number of options. Alternatively, you could use a community-contributed tool called ponymix (which is now in [community]) to very simply control both individual application streams and the system-wide server settings.

With pure ALSA, however, I am unsure if this is even possible.

  • 1
    it's not possible.
    – strugee
    Commented Apr 20, 2014 at 20:15
  • That's what I figured; I had never seen the ability to do so before.
    – HalosGhost
    Commented Apr 20, 2014 at 20:18
  • 1
    @HalosGhost +1 for ponymix: and welcome!
    – jasonwryan
    Commented Apr 20, 2014 at 20:21
  • Thanks jwr, I've been a longtime SE reader; figured it was about time I try to contribute something back.
    – HalosGhost
    Commented Apr 20, 2014 at 20:23

If you're not using pulseaudio you can create a softvol device in alsa:

pcm.aux {
    type softvol
    slave.pcm pcm.default

    control {
            name "AUX"
            card 0
    hint.description "softvol für AUX"

Then configure your browser to use the "vdr" device. During the first use, a new mixer control will be created and appear e.g. in alsamixer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .