You are not logged in.

#1 2025-08-12 08:50:32

rabbithole999
Member
Registered: 2025-08-12
Posts: 1

Per-application instead of per-role volume in KDE/WirePlumber

Hi.

I want to set the volume for my music player (Lollypop) and Anki independently, right now changing the volume for one changes the other and vice versa.
I assume it's because they're both under the "Music" media role.

~/.local/state/wireplumber/stream-properties file after deleting it, restarting PipeWire, WirePlumber and playing audio in Lollypop and Anki:

[stream-properties]
Audio/Sink:node.name:auto_null={"mute":false, "volume":1.000000, "channelMap":["FL", "FR"], "channelVolumes":[1.000000, 1.000000]}
Output/Audio:media.role:Music={"channelVolumes":[0.063997], "volume":1.000000, "channelMap":["FC"], "mute":false}

Appending the following lines doesn't seem to affect anything:

 
Output/Audio:application.name:Lollypop={"channelMap":["FL", "FR"], "channelVolumes":[0.000000, 1.000000], "volume":0.500000, "mute":false}
Output/Audio:application.name:Anki={"channelMap":["FL", "FR"], "channelVolumes":[0.000000, 1.000000], "volume":0.500000, "mute":false}

Current package versions:

pacman -Q pipewire pipewire-pulse wireplumber plasma-pa plasma-desktop 
pipewire 1:1.4.7-1
pipewire-pulse 1:1.4.7-1
wireplumber 0.5.10-1
plasma-pa 6.4.4-1
plasma-desktop 6.4.4-1

Is there a way to disable this or at least change the role of an application?

Last edited by rabbithole999 (2025-08-12 08:51:04)

Offline

Board footer

Powered by FluxBB