I came across this when I was fiddling with Fontforge. Without GTK_MODULES set to the correct value, it will barf at me thusly: Gtk-Message: Failed to load module "canberra-gtk-module": libltdl.so.7: cannot open shared object file: No such file or directory I found the email in URL from upstream Quoting verbatim: <quote> Packagers! If you package libcanberra, make sure to include a script like this one in your package: <snip> #!/bin/sh if [ -z "$GTK_MODULES" ] ; then GTK_MODULES="libcanberra-gtk-module" else GTK_MODULES="$GTK_MODULES:libcanberra-gtk-module" fi export GTK_MODULES </snip> This script should be sourced in each Gnome session and will enable the libcanberra gtk module for all gtk programs. In fedora we install it as "libcanberra-gtk-module.sh" in /etc/X11/xinit/xinitrc.d/. I assume other distributions have similar directories. In the future we will move this to a GtkSetting read from gconf, but as it stands now that part in gnome-session sucks big time, so in the meantime we do it with env vars: http://bugzilla.gnome.org/show_bug.cgi?id=539840 Lennart </quote>
as you can see from the link this dates back from july and has since been changed to use GtkSettings. Unless you are speaking of a gconf less system that I can't test that might eventually require such thing, this issue is moot.
D'oh. Only when I run as root. As the normal user, no problems.