Failed to load module "canberra-gtk-module"
I fixed this by installing the module:
sudo apt-get install libcanberra-gtk-module
Or if it's already installed and you still get the error:
sudo apt-get install libcanberra-gtk-module:i386
This question is 4 years and 8 months old. It is now July 2017.
On a Raspberry Pi 3B running Raspbian Jessie and Ubuntu 16.04 LTS I was getting this error.
Failed to load module “canberra-gtk-module”
It is fairly generic.
The good news is that the fix is easy. Simply enter:
sudo apt-get install libcanberra-gtk-module
installed some stuff...
Then it never showed up again.
happened with a qt5 application using gtk theme on Ubuntu MATE
$ ./my-application
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"
let's locate the libs
$ locate libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
setting the LD_LIBRARY_PATH solves the issue
$ LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/gtk-3.0/modules:$LD_LIBRARY_PATH ./my-application
or unset the GTK_MODULES environment variable
$ unset GTK_MODULES; ./my-application