this post was submitted on 18 Sep 2023
36 points (97.4% liked)

Linux

48376 readers
1466 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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:

systemctl --user stop pipewire
sed -i '/:target/d' ~/.local/state/wireplumber/restore-stream
systemctl --user start wireplumber

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

sink="$(pactl get-default-sink)"
pactl list short sink-inputs | sed -r 's/([0-9]+).*/\1/' | while read appId; do 
    pactl move-sink-input $appId "$sink"
done
you are viewing a single comment's thread
view the rest of the comments
[–] boringbisexual@lib.lgbt 1 points 1 year ago

Ooh this is nicer looking than helvum.