I want to change the theme that Inkscape uses to a dark one, but I want the rest of the programs I use to retain the theme they currently have.

I found this article (http://urukrama.wordpress.com/2008/07/13/setting-a-custom-gtk-theme-for-specific-applications/) but it seems to be outdated and doesn't work for me.

I'm running Ubuntu 13.10 and the version of inkscape I'm trying to apply a different theme to is 0.48.4. I can change the theme of inkscape by changing the global theme using unity tweak tool, but then all other programs change too.

Also, if there's any way to change the icon set for a specific application, I would like to do that as well.

1 Answer 1


See How can one make Firefox ignore my GTK theme entirely? for how to make gtk2 applications like Firefox or LibreOffice have distinct themes.

How do I find out if a program uses GTK 2 or 3? indicates that Inkscape is a gtk2 application.

For gtk3 applications, if your system's GTK3 version is higher than 3.10, you can use the GTK_THEME environment variable like this:

GTK_THEME=Adwaita:dark gnome-calculator 

I don't know about qt applications.

I use this script to launch LibreOffice with its own theme:

#!/usr/bin/env bash

GTK2_RC_FILES=/usr/share/themes/Numix/gtk-2.0/gtkrc libreoffice --calc
  • 1
    I just tried that, however inkscape still used the same theme as the rest of my system, despite me setting the variable to a different theme. Is it possible that the setting is being overwritten by something? Mar 28, 2014 at 5:36
  • Did you log out and log back in?
    – DK Bose
    Mar 28, 2014 at 5:37
  • And is Inkscape still gtk2 or is it now gtk3?
    – DK Bose
    Mar 28, 2014 at 5:38
  • It appears to be gtk2. And is there a reason that logging off and back on would help? I'm just trying to change the environmental variable before I launch inkscape, not any global settings. I'll try logging off and back on when I get the chance, but I don't think it will make a difference. Mar 28, 2014 at 6:41
  • See if the script I added works after you fix it for your theme and program. No need for log out.
    – DK Bose
    Mar 28, 2014 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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