80

In the newest version of Ubuntu (11.10) when I run from the command line Gtk complains loudly (over several lines) each time a window is opened. The problem is clearly with the theme - if I change the default from Ambiance to High-Contrast this goes away. Some examples:

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

I like the themes and I don't want to part with them. How can I fix the command line verbosity from Gtk? I can simply hack the command line to filter out these messages, but I really don't like that idea.

Possibly Related

From a previous version: How to get rid of odd error line...

1 Answer 1

112

The Unable to locate theme engine in module_path: "pixmap" messages are a known bug.

To fix it, install the gtk2-engines-pixbuf Install gtk2-engines-pixbuf package

The warnings you get from running Evince are a separate bug. There isn't a fix for that yet as far as I can tell.

6
  • 3
    That bug only seems to reference the first warning from evince, not the gdk_window_get_pointer assertion failure.
    – dutchie
    Feb 17, 2012 at 15:12
  • @dutchie, that's true. The gesture warnings are connected to bug 873866.
    – poolie
    Mar 4, 2012 at 11:43
  • 6
    If you are using a 64-bit system, but using 32-bit software producing those warnings you might try: sudo apt-get install gtk2-engines-pixbuf:i386.
    – math
    Oct 18, 2013 at 10:49
  • 1
    gtk2-engines-pixbuf have unmet dependencies in Trusty. "gtk2-engines-pixbuf : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.1 is to be installed" How to fix that bug on 14.04?
    – yujaiyu
    Oct 21, 2014 at 16:22
  • To me, this was helpful in relation with IntelliJ Idea.
    – Ajeeb.K.P
    Dec 29, 2018 at 0:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .