sudo apt-get install --reinstall libcanberra-gtk-module code example
Example 1: failed to load module canberra-gtk-module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
Example 2: Failed to load module "canberra-gtk-module"
#for matlab type following on terminal
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0