libcanberra sounds no longer appear via pulse
- PipeWire version (
pipewire --version
): 1.0.4 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): NixOS 24.05 (Uakari) - Desktop Environment: i3
- Kernel version (
uname -r
): 6.6.22
Description of Problem:
libcanberra sounds (e.g. terminal bells, in some terminal emulators, or sounds played via canberra-gtk-play) do not seem to appear in the pulseaudio world any more, and it doesn't seem possible to control the volume of such sounds by any means.
Maybe this is a session manager problem? I have no real idea which bit of the stack is responsible for things like "does this thing show up to pulseaudio applications" and "how loud is this audio". I'm using wireplumber 0.5.
(Has libcanberra has been taught to speak pipewire natively, where previously it was using the pulse compat layer? I see a suspicious "pipewire.protocol": "protocol-native"
... but searching for "canberra" in Nixpkgs issues/PRs, I don't see anything recent.)
Something that looks like a similar issue: https://discussion.fedoraproject.org/t/kde-6-0-1-on-fedora-40-system-sounds-cant-be-muted/107527
How Reproducible:
100% of the time
Steps to Reproduce:
- Open pavucontrol
-
echo \a
, orcanberra-gtk-play -i phone-incoming-call -d "hello world"
- Observe that no "libcanberra" shows up under Playback (and wiggling the System Sounds slider doesn't change the sound's volume)
Actual Results:
libcanberra sounds cannot be controlled with pavucontrol
Expected Results:
libcanberra sounds should be possible to control with pavucontrol