Bug#969984: gnome-session-canberra: not very functional as it is and some suggestions

Patrice Duroux patrice.duroux at gmail.com
Wed Sep 9 17:41:53 BST 2020


Package: gnome-session-canberra
Version: 0.30-7
Severity: normal

Dear Maintainer,

Using Debian Sid and after installing gnome-session-canberra, it does not
provide provide any sound event/notification (at least for GDM).

>From my point of view, this package has two different goals:

1) The first is to provide a CLI with canberra-gtk-play binary to play sound
event.

This may be used by some other packages and using Debian Code Search, those are
candidates:
transmission
systemtap
kazam
loqui

I did not check if their dependency suggests or recommends it.

2) The second is to offer some sound events in GNOME for both GDM (ready) and
GNOME user's session (login/logout)

About the requested sound files:

-in /usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop

$ apt-file search system-ready
arctica-greeter: /usr/share/sounds/arctica-greeter/stereo/system-ready.ogg

- in /usr/share/gnome/autostart/libcanberra-login-sound.desktop

$ apt-file search desktop-login
moblin-sound-theme: /usr/share/sounds/moblin/stereo/desktop-login.ogg

- in /usr/share/gnome/shutdown/libcanberra-logout-sound.sh

$ apt-file search desktop-logout


And so none of them are provided by the sound-theme-freedesktop package.

* Proposal

Then here is a solution that works for me:

- moving (or linking) the file 'libcanberra-ready-sound.desktop' from
'/usr/share/gdm/autostart/LoginWindow/' to '/usr/share/gdm/greeter/autostart/'
may improve the situation.
- changing in this file the "system-ready" by "complete" for instance from
sound-theme-freedesktop.

* Questions

Is libcanberra targeted to be obsolete and replaced?
Could it be interesting to split this package into: libcanberra-bin (or -tool,
...) and gnome-session-canberra?
Would it be better to replace literal values (sound event) and use some
$(gsettings get ...) in place?

Thanks,
Patrice

ps: perhaps some other bug reports may be related to this one.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-1-amd64 (SMP w/12 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-session-canberra depends on:
ii  libc6               2.31-3
ii  libcanberra-gtk3-0  0.30-7
ii  libcanberra0        0.30-7
ii  libglib2.0-0        2.64.4-1
ii  libgtk-3-0          3.24.22-1

gnome-session-canberra recommends no packages.

gnome-session-canberra suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list