Federico Beffa <be...@ieee.org> skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Not sure. Is libcanberra dlopened? Do you know what dlopens it, and >> whether it systematically does? > > I've not found out. I'm attaching the strace log of evince (actually > the wrapper of my local package built with glib-or-gtk). Maybe you see > more than me. > > In any case, I've checked a couple more applications making use of the gtk > toolkit: inkscape, icecat. They all complain about > libcanberra-gtk-module. It looks like > libcanberra is used by many gtk+ applications.
I’ve looked again at the strace log and can’t find anything obvious such as a config file in /home or /etc that would tell it to load libcanberra-module. However, I built Evince locally with glib-or-gtk-build-system, and it doesn’t mention anything about libcanberra: --8<---------------cut here---------------start------------->8--- $ /gnu/store/14ja1vpbc55yfgpp4irxwriw390zbl1g-evince-3.6.1/bin/evince doc/foo.pdf ** (..evince-real-real:5821): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files Error registering document: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evince.Daemon was not provided by any .service files GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. --8<---------------cut here---------------end--------------->8--- So I’m pretty clueless. Could it be that it receives some message over D-Bus (on your machine) telling it to load the thing? What does ‘dbus-monitor’ show? >> So this is the daemon the GSettings API normally connects to, right? > > I believe so. At least that's what I understood reading some of the > documentation and some threads, e.g.: > > http://permalink.gmane.org/gmane.comp.gnome.shell/5897 > > dconf is the replacement for gconf which is now considered deprecated. > > For emacs specifically it appears that the warning may be suppressed > with configure flags --without-gsettings and --disable-gconf: Sure, but that would be cheating. :-) Thanks, Ludo’.