Matlab on Linux: Failed to load module "canberra-gtk-module"

I run Matlab on Ubuntu and am told that
Failed to load module "canberra-gtk-module"
What am I to do?

 Accepted Answer

More Answers (3)

I get same issue on Ubuntu 20.04, 21.10 and 22.04 with matlab 2021a and 2021b.
I have the same problem with 2020b.
Then, I ran "sudo apt-get install libcanberra-gtk*', and finished with no problem. But the caution didn't disappere.
I have the same problem but the main concern is that running a .mlx file and trying to visualize some stuff (showdetails(robot))
I get:
"Couldn't create JOGL canvas--using painters"
which I totaly though it was related to the initial problem when launchin matlab
munir@munir-desktop:~/Documents/matlab2022a$ ./matlab
Gtk-Message: 14:06:16.642: Failed to load module "canberra-gtk-module"
I'm running on Ubuntu 20.04

Categories

Products

Release

R2020a

Tags

Asked:

on 6 Jun 2020

Answered:

on 2 Jul 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!