libcanberra-pulse: unnecessary dependency on pulseaudio package (and more related to GNOME)
Patrice Duroux
patrice.duroux at gmail.com
Thu Jun 17 19:48:42 BST 2021
Hi,
Nowadays, this could facilitate having the PipeWire pulse server without
installing PulseAudio server it-self. I suspect that this will solve my
situation regarding #989800.
In fact libcanberra-pulse is recommended by gnome-control-center probably for
the reason of my trouble.
Sure libcanberra is a bit obscure to me as I was thinking that libcanberra-
gstreamer and gstreamer1.0-pipewire will do the job in GNOME as alternative to
libcanberra-pulse and pulseaudio, even regarding sound tests in gnome-control-
center.
Another mystery is that the alert sound/theme selected in gnome-control-center
is not handled by any gsetting property, isn't it?
What ever the current alert sound, there is:
$ gsettings get org.gnome.desktop.sound theme-name
'__custom'
Moreover its default value is 'freedesktop' but it is not a « stable » value. In
another words gnome-control-center will change it to '__custom' whatever the
sound alert is selected.
It is easy to check:
$ gsettings reset org.gnome.desktop.sound theme-name
$ gsettings get org.gnome.desktop.sound theme-name
'freedesktop'
$ gnome-control-center # then select any alert sound and quit
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
(gnome-control-center:12136): sound-cc-panel-WARNING **: 20:38:57.759: Failed to
play alert sound /usr/share/sounds/gnome/default/alerts/drip.ogg: Not available
Note: this last message is another strange story because the file exists on my
system but it was not played due to my initial trouble.
And then:
$ gsettings get org.gnome.desktop.sound theme-name
'__custom'
Also why this value is not 'gnome' in fact:
$ ls /usr/share/sounds/
alsa freedesktop gnome purple sf2 sf3 sound-icons speech-dispatcher
that should be a bit more intuitive to me.
Thanks,
Patrice
More information about the pkg-gnome-maintainers
mailing list