LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gtk-Message: Failed to load module "canberra-gtk-module" (https://www.linuxquestions.org/questions/linux-software-2/gtk-message-failed-to-load-module-canberra-gtk-module-936168/)

jlibraryist 03-22-2016 09:45 AM

Quote:

Originally Posted by jlibraryist (Post 5519741)
I followed a variation on this command - which solved my very similar problem.

Thank you to the various contributors in this thread.

J.

Though, I am on Debian 8...

aaguillon 01-10-2017 09:11 AM

This solved it for me!!! Thanks!
 
Quote:

Originally Posted by x.gooch.x (Post 5326502)
On Ubuntu 12.04 server 64, I had to call:

sudo apt-get install libcanberra-gtk*

In order to remove the warning: Gtk-Message: Failed to load module "canberra-gtk-module"


This solved it for me!!! Thanks!

jobsworth 01-11-2017 07:32 AM

thank you. i have been wondering about this for a long time but have just had to get used to it.
anybody know about vnc4server? it's redundant isn't it?

wuemura 06-19-2017 05:47 PM

Sorry to bump this post up, I've the correct fix for this.
I'm using Debian 9 (Stretch) and I'm seeing this messages all over the place, to correct fix the issue you just have to install the missing module:
Code:

sudo apt-get install libcanberra-gtk-module
DONE!

If you install with "libcanberra-gtk*" it might fix the problem but it will install a load of unnecessary files like debugging packages and other stuff, the correct module is about 20kb and 33kb total.

Have a good one.

Megamos 09-28-2017 01:56 AM

This worked for me to
 
Quote:

Originally Posted by mmhmm (Post 5409614)
For me just the following command (with su permissions) helped:
Code:

apt-get install libcanberra-gtk-module
It's only 31,8 kB.

Thank you! Worked for me to on Debian 8 (Jessie).

asmblur 03-28-2019 04:20 PM

On Ubuntu 18.04 64-bit

Code:

sudo apt-get install libcanberra-gtk0

greencedar 06-12-2019 03:20 AM

I understand that this thread is old. In my search for information concerning why I was receiving the Gtk warning, and the information, and coding, found in this thread, helped me in my current problem with gcin and re-booting.

paulmcq 09-08-2019 12:29 PM

Thanks
 
Quote:

Originally Posted by wuemura (Post 5724564)
Sorry to bump this post up, I've the correct fix for this.
I'm using Debian 9 (Stretch) and I'm seeing this messages all over the place, to correct fix the issue you just have to install the missing module:
Code:

sudo apt-get install libcanberra-gtk-module
DONE!

If you install with "libcanberra-gtk*" it might fix the problem but it will install a load of unnecessary files like debugging packages and other stuff, the correct module is about 20kb and 33kb total.

Have a good one.

This fixed it for me. Thanks.
I had previously fixed it by installing "libcanberra-gtk*", and as you said, that drug in a bunch of stuff. Your answer gave me the courage to "sudo remove libcanberra-gtk*". Then your simple install did fix the issue.

Ubuntu Bionic 18.04.3 LTS

bobv 01-01-2020 11:01 PM

Failed to load module "canberra-gtk-module"
 
Quote:

Originally Posted by asmblur (Post 5978939)
On Ubuntu 18.04 64-bit

Code:

sudo apt-get install libcanberra-gtk0

I am using CentOS 8. This message helped me. What I did us replace gtk0 by gtk2 and it worked!!!

So I did "sudo yum install libcanberra-gtk2".

I work like a charm! Thanks a lot!

Bauble 10-14-2020 07:35 PM

Another possible solution I found when trying to run something like Krita that was throwing out the same messages, is to run the program with sudo. This worked for me. The messages of missing canberra module no longer appeared and was satisfied.

paulmcq 12-10-2020 01:35 PM

Quote:

Originally Posted by paulmcq (Post 6034568)
This fixed it for me. Thanks.
I had previously fixed it by installing "libcanberra-gtk*", and as you said, that drug in a bunch of stuff. Your answer gave me the courage to "sudo remove libcanberra-gtk*". Then your simple install did fix the issue.

Ubuntu Bionic 18.04.3 LTS

I confirm that the same fix worked for me on Ubuntu Focal 20.04.1 LTS:
sudo apt-get install libcanberra-gtk-module

Also: There is a typo in my previous post (#23). Should say:
... courage to "sudo apt remove libcanberra-gtk*"

oneeyeman1 07-08-2022 05:26 PM

Hi,
Installing libcanberra module is not really a fix.
In my line of work I don't don;'t have anything with sounds(which libcanberra is for), and I still have this warning.

On top of that - it shouldn't be required to install at all - according to GTK/GNOME developers this is to support the theming sound and its not supporting Wayland at all
(and probably never will).

I would like to know who is asking for libcanbberra and remove the offending module or reconfigure it so that the warning doesn't pollute my log.

Can someone please help?

I use RHEL8 with X11 (can't switch to Wayland yet -- our software will have problem with the compositor RHEL using).

Thank you.


All times are GMT -5. The time now is 06:15 PM.