I am running Ubuntu 18.04.3 LTS and when I launch MATLAB R2019b I get the following error:
Gtk-Message: 00:20:10.283: Failed to load module "canberra-gtk-module"
[0921/002013.995543:INFO:context.cpp(159)] Using multi-threaded message loop for Linux
I read this thread: Failed to load module “canberra-gtk-module” .... but already installed
but wasn't able to resolve the issue. Matlab launches and then it functions well but I would like to solve this error. Any ideas would be appreciated.
22 Answers
Not a an issue unique to Matlab, but Ubuntu. It is solved by executing:
sudo apt-get install libcanberra-gtk-module
So the answer is in a terminal excecute the following
sudo apt-get install libcanberra-gtk* libgconf-2-4
sudo ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib/libcanberra-gtk-module.soThe second line will create a link to the module. Matlab works with gtk-2.0 module. For other linux distributions follow this.Problem solved, at least for me.