在最新版本的 Ubuntu (11.10) 中,当我从命令行运行时,每次打开窗口时 Gtk 都会大声抱怨(超过几行)。问题显然出在主题上 - 如果我将默认值从更改Ambiance为High-Contrastthis 就会消失。一些例子:
travis@hydrogen:~$ emacs foo.txt
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs:1550): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
travis@hydrogen:~$ evince test.pdf
(evince:1566): GLib-GObject-WARNING **: g_object_set_valist: construct property "enable-gestures" for object `EvView' can't be set after construction
(evince:1566): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
(evince:1566): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
(evince:1566): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
Run Code Online (Sandbox Code Playgroud)
我喜欢这些主题,我不想与它们分开。如何从 Gtk 修复命令行冗长?我可以简单地修改命令行来过滤掉这些消息,但我真的不喜欢这个想法。
可能相关
从以前的版本:如何摆脱奇怪的错误行...
Isa*_*iah 110
这些Unable to locate theme engine in module_path: "pixmap"消息是一个已知的错误。
要修复它,请安装gtk2-engines-pixbuf 包裹
运行 Evince 时得到的警告是一个单独的错误。据我所知,目前还没有解决办法。