There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[SOLVED] Where does pipewire store its properties?

For example, I set firefox to some custom sink using pavucontrol, but now I want to reset it to default. How can I do this without using pavucontrol, just cli?

EDIT:

Found it :) they are in ~/.local/state/wireplumber/restore-stream. To remove target sink, pipewire and wireplumber have to be restarted:


<span style="color:#323232;">systemctl --user stop pipewire
</span><span style="color:#323232;">sed -i '/:target/d' ~/.local/state/wireplumber/restore-stream
</span><span style="color:#323232;">systemctl --user start wireplumber
</span>

Other solution is just to reroute all active streams to the default sink:


<span style="color:#323232;">sink="$(pactl get-default-sink)"
</span><span style="color:#323232;">pactl list short sink-inputs | sed -r 's/([0-9]+).*/1/' | while read appId; do 
</span><span style="color:#323232;">    pactl move-sink-input $appId "$sink"
</span><span style="color:#323232;">done
</span>
Illecors ,

I’ve not played enough with pipewire, but my impression was: use pavucontrol for gui or wireplumber for cli.

TropicalDingdong ,

Only Linus and Jesus know.

nyan ,

Looks like your options are wireplumber (separate package) or pw-cli (looks kind of arcane). Gentoo appears to create an /etc/pipewire directory for some configuration, but your distro may be different.

LukeTS ,

I’m not entirely sure if this can do what you need, but I like looking at the graph with qpwgraph

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines