Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Thinking of trying to tweak a theme to get Inkscape more compact. Was wondering if there was a way to tell which version of GTK+ it uses?

share|improve this question
What if it is an uncompiled python program (gaupol, for example). Ldd says not a dynamic executable. – sup Aug 14 '14 at 14:59
@sup Perhaps looking at the dependencies via apt-cache depends <package> | grep gtk is an alternative for such uncompiled program, including firefox. – clearkimura Nov 10 '15 at 17:02
up vote 5 down vote accepted

Use ldd. Mine appears to use gtk2 libraries.

$ ldd /usr/bin/inkscape | grep gtk => /usr/lib/x86_64-linux-gnu/ (0x00007fa8de4d5000) => /usr/lib/ (0x00007fa8dcfe1000) => /usr/lib/x86_64-linux-gnu/ (0x00007fa8dc9a7000)
share|improve this answer

Inkscape currently uses GTK2. Inkscape trunk has the ability to compile against GTK3, however that is a work-in-progress and is far less compact than when built against GTK2 (GTK3 was created with touchscreen support in mind, so widgets are larger).

-an Inkscape dev

share|improve this answer
Thank you. I find on my laptop (1366x768) that I'm always short of space for the dockable stuff (layers, fill, etc.) and Gnome is very fond of huge toy-town style buttons! Of course Adobe take it too far and give you 4px click zones. KDE apps strike a more effective balance, IMO, but then I sort of fell out with KDE after 3.5. Anyway, thank you for your useful information. – artfulrobot Jul 6 '12 at 16:25

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.