Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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...

share|improve this question
add comment

1 Answer 1

up vote 71 down vote accepted

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.

share|improve this answer
2  
That bug only seems to reference the first warning from evince, not the gdk_window_get_pointer assertion failure. –  dutchie Feb 17 '12 at 15:12
    
@dutchie, that's true. The gesture warnings are connected to bug 873866. –  poolie Mar 4 '12 at 11:43
2  
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 '13 at 10:49
add comment

protected by Community Nov 29 '11 at 18:12

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.