No apparent way to partially override /usr/share/pipewire/pipewire.conf config file
My distribution provides a /usr/share/pipewire/pipewire.conf
with
context.exec = [
{ path = "/usr/bin/pipewire-media-session" args = "" }
]
I would like to switch to wireplumber, so I created a ~/.config/pipewire/pipewire.conf.d/00-sessionmgr-exec.conf
with the following contents:
context.exec = [
{ path = "/usr/bin/wireplumber" args = "" }
{ path = "/usr/bin/pipewire-pulse" args = "" }
]
Expected behaviour: only wireplumber
and pipewire-pulse
are started.
Actual behavior: pipewire-media-session
, wireplumber
and pipewire-pulse
are started.
I took a look at the wiki. It mentions:
Note!! Properties will override the previous ones, array entries will be appended. It is not possible yet to change or remove existing array entries. This only applied to the first level objects, arrays in properties will be overwritten as usual.
How does one achieve this?
If this is not implemented, then please give us a way to override the context.exec
array in my user directory without having to change the system config file. Thank you.