Inspecting GTK dialogs with Parasite

Parasite is a program much like Firebug, except this is for GTK based applications.

By opening a program with parasite enabled, you can literally click elements of the GUI to reveal their properties.

parasite

The installation is pretty simple, open a terminal, clone the git repo, compile install and run. I like to make a folder for software I checkout from SVN or Git in my home dir so I don’t get things all messy. You need git to clone, so if you don’t have it installed already:

$ sudo apt-get install git-core

Clone it:

$ mkdir ~/git_software && cd ~/git_software && git clone git://github.com/chipx86/gtkparasite

Compile and install it:

$ ./autogen.sh && make && sudo make install

I run 64bit, so I had to do the following command to get things working:

$ sudo cp /usr/local/lib/gtk-2.0 /usr/lib64/ -r

Try it out (prefix an application name with GTK_MODULES=gtkparasite):

$ GTK_MODULES=gtkparasite gedit
Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • BlogMemes
  • Furl
  • NewsVine
  • Reddit
  • SphereIt
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

1 comment so far

  1. Vadim May 20, 2009 5:23 pm

    It’s a useful thing. Wish it got some development though, it had no activity since release :/

Leave a comment

Please be polite and on topic. Your e-mail will never be published.