Ubuntu 18.04 命令行执行命令 报错提示：Failed to load module "canberra-gtk-module" 解决方案： 1、执行以下命令，相信定有奇效. sudo apt-get install libcanberra-gtk-module.
However, in some cases, it may not auto-load the kernel modules needed. If net-setup or pppoe-setup failed, then it is possible that the network card wasn't found immediately. This means users may have to load the appropriate kernel modules manually. To find out what kernel modules are provided for networking, use the ls command:
See full list on wiki.archlinux.org
If you are using a window manager other than Gnome and have scaled the fonts using Xft.dpi, you must tell GDK to scale the UI as well. This will result in a further increase of the font-size for GDK apps, so you must undo the scaling of the text only.
Modules not loading. When running some graphical programs inside the CCS (i.e. rq_graph, rviz, gazebo, etc) you may see this message: Gtk-Message: nn:nn:nn.nnn: Failed to load module "canberra-gtk-module" You can safely ignore this error, as it does not affect any of the programs.
Dec 17 09:40:08 talisker gnome-session: Gtk-Message: Failed to load module "canberra-gtk-module" Dec 17 09:40:09 talisker gnome-session: (acroread:11178): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory ... Gtk-Message: Failed to load module "canberra-gtk-module ...