自从更新到 Ubuntu 14.04 以来,我在运行 GNUcash 时开始收到此错误消息。GNUcash 说这与他们无关,他们建议向 Ubuntu 寻求帮助。
那么有人可以帮助解决这个消息吗:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
(npviewer.bin:18843): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
还有更多,但只是一遍又一遍地重复相同的台词。
我还发现这些错误信息可能有助于别人找到解决办法!
peter@ubuntu:~$ strace gedit 2>&1 | grep can
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = 0
stat("/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", {st_mode=S_IFREG|0644, st_size=23112, ...}) = 0
open("/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", O_RDONLY|O_CLOEXEC) = 10
open("/usr/lib/x86_64-linux-gnu/gedit/libcanberra-gtk3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0", O_RDONLY|O_CLOEXEC) = 10
open("/usr/lib/x86_64-linux-gnu/gedit/libcanberra.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcanberra.so.0", O_RDONLY|O_CLOEXEC) = 10
writev(8, [{"\22\0\17\0\205\0@\4p\1\0\0\33\1\0\0\10\0\0\0!\0\0\0/com/can"..., 176}, {NULL, 0}, {"", 0}], 3) = 176
open("/usr/lib/x86_64-linux-gnu/libcanberra-0.30/libcanberra-pulse.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcanberra-0.30/libcanberra-pulse.so", O_RDONLY|O_CLOEXEC) = 15
peter@ubuntu:~$
答案1
这信息行意味着您缺少overlay-scrollbar-gtk2
和unity-gtk2-module
包。
这警告是因为你显然丢失了gtk2-engines-murrine
包裹。