I have 2 physical output devices, say “speakers” and “headphones”, and I frequently switch between them.

I also have a script that creates 2 virtual sinks for voice call and game by loading module-combine-sink twice on “speakers” and “headphones”.

It works, but it’s annoying that every time I want to switch device, I also need to mute the other one.

Ideally, I want to use module-remap-sink instead, remapping the 2 virtual sinks to the default one. This is where I’m stuck. What do I put in for master?

  • drem@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    7 months ago

    Were you thinking about something like this?

    **Tip:** The default source can be referred as `@DEFAULT_SOURCE@` in commands, for example: `$ pactl set-source-mute @DEFAULT_SOURCE@ toggle`
    

    Default sink:

    @DEFAULT_SINK@