Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gtk-Message: Failed to load module "canberra-gtk-module" Unable to connect to dbus - Sublime text

I'm working on a remote server (Ubuntu 14.04) through SSH -X. I have installed Sublime Text and when I try to open it I get

Gtk-Message: Failed to load module "canberra-gtk-module"
Unable to connect to dbus

How do I solve this?

like image 814
am3 Avatar asked Oct 17 '25 18:10

am3


1 Answers

sudo apt-get install libcanberra-gtk*

if you run that install it will get 120+ mb of libs, mostly. to get rid of that module error, you only need to install 70k. i fixed the same error with this single package:

sudo apt-get install libcanberra-gtk-module

that should do the trick. if that doesnt work try installing only the canberra libs, you don't need all those Xlibs, or you'd have them already ;) here's just canberra packages apt listed:

libcanberra-gtk-common-dev libcanberra-gtk-dev libcanberra-gtk-module libcanberra-gtk-module-dbg libcanberra-gtk0 libcanberra-gtk0-dbg libcanberra-gtk3-0-dbg libcanberra-gtk3-dev libcanberra-gtk3-module-dbg libcanberra-dev

10 total packages, instead of over 100 packages with that * wildcard. save space, boot time, sys speed etc, always, if you can :)

like image 126
JayCravens Avatar answered Oct 22 '25 01:10

JayCravens