Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

gtkparasite is great for gtk+2, but unfortunately it won't work with gtk+3.

Is there any alternative?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

If you are looking at all the possibilities that can resolve the problem, I suggest the following link which is about how to port gtkparasite to GTK3. Although it is a bit technical, the effort is successful.

share|improve this answer
I just did that and thought to report, but there you are :) Patch from comment 5 works great! – zetah Apr 30 '12 at 15:18
GTK3 is apparently now supported (since Oct 2013...), you need to compile it from source using the ./ --with-gtk=3.0, make and sudo make install. The packaged fedora version still only supports GTK2 though :( – Wilf Jul 19 at 17:57

Yes, there's now an official GNOME tool called GtkInspector:

GtkInspector is the built-in interactive debugging support in GTK+. It was added in GTK+ 3.14, based on a copy of the well-estabished gtkparasite. To enable the debugger, either start your app with GTK_DEBUG=interactive in your environment, or run
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true and launch the debugger with the Control-Shift-I or Control-Shift-D keyboard shortcuts.

enter image description here

share|improve this answer
I'm getting: No such schema 'org.gtk.Settings.Debug' – jhasse Nov 17 at 20:22
@jhasse -what's your gtk version ? – don_crissti Nov 17 at 20:25
3.16 on Ubuntu GNOME 15.10 – jhasse Nov 18 at 22:53
@jhasse - I'm using archlinux and no problem here. It worked file with 3.16 and it still works fine with 3.18 so... whatever it is, it has to be ubuntu specific. – don_crissti Nov 19 at 2:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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