Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

gtk

My pygtk program writes this warning to stderr:

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

libcanberra seems to be a library for sound.

My program does not use any sound. Is there a way to disable this error message?

Installing libcanberra is not a solution.

like image 818
guettli Avatar asked Dec 11 '13 11:12

guettli


1 Answers

I solved it by running

 sudo apt-get install libcanberra-gtk*

you can try it.

like image 193
dd. Avatar answered Oct 15 '22 16:10

dd.