Spotify and canberra-gtk-module (Manjaro / Archlinux)

Reply
Highlighted

Spotify and canberra-gtk-module (Manjaro / Archlinux)

Casual Listener

Hello,

since today I get this error when sarting spotify:

 

$ spotify

Gtk-Message: 22:00:27.553: Failed to load module "canberra-gtk-module"

Gtk-Message: 22:00:27.553: Failed to load module "canberra-gtk-module"

Trace/breakpoint trap (core dumped)

 

  • I did nothing changed since last time it worked
  • Spotify Version from Snap: 1.1.26.501.gbe11e53b-15
  • Package from AUR is a outdated version of Spotify
  • Things I tried: pacman -Syu and reinstall Spotify

Any Ideas? It is strange that it happened out of nothing - it worked before!

 

12 Replies
Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Casual Listener
Hey, why no help for me?
Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Roadie

That's just a warning it can be ignored.

https://wiki.archlinux.org/index.php/Libcanberra

Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Casual Listener
Its not just a Warning because Spotify does not start!
Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Roadie

Then install the package mentioned in the wiki...

Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Newbie

It is obviously a bug in Spotify because I have libcanberra installed and gtk, yet it complains. Also this happened after I did an update on the system.

Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Roadie

Yep, just add to the long list of bugs...

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Casual Listener

I have a similar problem on fedora 32 running the snap from user:

 

 

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Warning: GTK2 does not support Wayland!
Gtk-Message: 15:36:24.686: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:36:24.686: Failed to load module "pk-gtk-module"
Trace/breakpoint trap (core dumped)

 

 

And from superuser:

 

 

2020/05/31 15:41:19.485743 cmd_run.go:893: WARNING: cannot start document portal: read unix @->/run/user/1000/bus: read: connection reset by peer
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Gtk-Message: 15:41:22.573: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:41:22.574: Failed to load module "pk-gtk-module"

 

(spotify:24838): GLib-GIO-CRITICAL **: 15:41:22.749: g_dbus_connection_send_message: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

 

 

It loops the last bit until I kill the process. It used to work.

Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Casual Listener

After some tinkering, it appears the snap uses GTK+2, which is not fully compatible with wayland. This seems to be the source of my problem. I think we need spotify to rebuild it for GTK+3.

Highlighted

Re: Spotify and canberra-gtk-module (Manjaro / Archlinux)

Visitor
It works for me when starting it with "sudo spotify"
SUGGESTED POSTS