ankurk91 / google-chat-electron

An unofficial desktop app for Google Chat :electron:
GNU General Public License v3.0
162 stars 49 forks source link

No sound on Linux Ubuntu #64

Closed nathanael-h closed 2 years ago

nathanael-h commented 2 years ago

Hello, I have no sound for notifications on Linux Ubuntu 20.04. When started with cli I saw this error message: Failed to load module "canberra-gtk-module"

Gtk-Message: 09:49:51.280: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:49:51.281: Failed to load module "canberra-gtk-module"

Seems related.

But it seems I have all canberra-gtk packages installed. Do I miss one?

$ LANG=en_EN.UTF-8 ; apt search canberra-gtk
Sorting... Done
Full Text Search... Done
gnome-session-canberra/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GNOME session log in and log out sound events

libcanberra-doc/focal,focal 0.30-7ubuntu1 all
  simple abstract interface for playing event sounds - doc

libcanberra-gtk-common-dev/focal,focal,now 0.30-7ubuntu1 all [installed,automatic]
  simple interface for playing event sounds (GTK+ shared development files)

libcanberra-gtk-dev/focal,now 0.30-7ubuntu1 amd64 [installed]
  simple interface for playing event sounds (GTK+ 2 development files)

libcanberra-gtk-module/focal,now 0.30-7ubuntu1 amd64 [installed]
  translates GTK+ widgets signals to event sounds

libcanberra-gtk0/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GTK+ helper for playing widget event sounds with libcanberra

libcanberra-gtk3-0/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GTK+ 3.0 helper for playing widget event sounds with libcanberra

libcanberra-gtk3-dev/focal,now 0.30-7ubuntu1 amd64 [installed]
  simple interface for playing event sounds (GTK+ 3 development files)

libcanberra-gtk3-module/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  translates GTK3 widgets signals to event sounds

Platform

google-chat-electron 2.14.2 Electron 17.0.0 linux 5.13.0-28-generic Locale: fr

nathanael-h commented 2 years ago

Package is installed with snap.

ankurk91 commented 2 years ago

https://github.com/ankurk91/google-chat-electron/issues/58

nathanael-h commented 2 years ago

My bad I missread this. Sorry for the noise. Thanks for the app :clap:

B0ndo2 commented 2 years ago

I am actually getting sound notification sometimes on my Fedora 35 so it looks like it works intermittently ?