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?

  • 4
    What if it is an uncompiled python program (gaupol, for example). Ldd says not a dynamic executable.
    – sup
    Aug 14, 2014 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.
    – user37165
    Nov 10, 2015 at 17:02

2 Answers 2


Use ldd. Mine appears to use gtk2 libraries.

$ ldd /usr/bin/inkscape | grep gtk
    libgtkmm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1 (0x00007fa8de4d5000)
    libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0x00007fa8dcfe1000)
    libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fa8dc9a7000)

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

  • 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. Jul 6, 2012 at 16:25

You must log in to answer this question.

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