super-productivity: [Arch] SNAP package - Failed to load module "canberra-gtk-module"

Your Environment

  • Version used: Latest from SNAP
  • Operating System and version: Arch with all packages up-to-date
  • Desktop Environment: Cinnamon

Expected Behavior

The application is starting with this error:

Gtk-Message: Failed to load module "canberra-gtk-module"

And looks like this:

image

Any advice?

Btw the web app is awesome!

Best Regards, Presian

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve had this bug with other programs. If you run echo $GTK_MODULES you can see the libcanberra is there. By running unset GTK_MODULES you can remove it, and all applications that reported the error work fine. You can add this command to your ~/.bash_profile or the Zsh equivalent, whatever you use. It worked for me with other stuff, but I have never used this program before.

Regarding this issue. The regular version of Firefox runs without issues, but the snap version (/snap/bin/firefox) produces the following error:

Gtk-Message: Failed to load module “canberra-gtk-module”

Fixed this bug for me on Manjaro, but I was launching google-play-music-desktop-player, not super-productivity sudo snap install core

I uploaded a version to the AUR. See if that works for you.

I am not a fan of snap so I never bothered to try it. First I tried compiling from source where I got ‘cannot find module …dialog’ so instead I used the deb which works fine.

The AUR is the Arch User Repository, basically a repo where any one is allowed to upload packages.

You can find the package here https://aur.archlinux.org/packages/superproductivity/