Per-app volume in the statusbar mixer #1801
haydn-j-evans
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Been fighting an annoying thing with the statusbar's volume module: it only ever shows/controls the default sink's master volume. That's fine for system sounds, but useless once an app's stream ends up pinned to a different sink than the current default. Brave (and Chromium apps generally) do this constantly for me, so the master slider just stops doing anything audible for the browser while notification sounds etc. keep tracking it fine.
Ended up rewriting
VolumeModule.qmlso clicking the icon opens a small popup instead of just adjusting master: a master row on top, then one row per currently-playing app (own volume/mute each, independent of whatever sink it's actually attached to), and a link at the bottom to open pavucontrol for anything more advanced (input devices, per-device routing).Not proposing this gets merged as-is — it's tailored to my setup and hasn't been tested outside it — but posting the full file in case the sink-mismatch problem is familiar to anyone else and it's useful as a starting point.
All reactions