Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to customize my Gtk+3.0 theme, when I make a change in my theme, I change between two themes (with MyUnity) to force applications to reload the theme and test mine. But when I do that, the theme is not refreshed to appreciate my changes, still in an old version, apparently Gtk+ is caching the theme information somewhere.

When I close and reopen session, I can appreciate my theme changes, but doing this for each change made is very annoying.

Is there a way to refresh my theme and see my changes (a command line program or an Gtk+ API call for example)?

share|improve this question
    
Thanks, killing and relaunching a Gtk+ application actually works. –  eagleoneraptor Jun 16 '12 at 20:35

1 Answer 1

up vote 2 down vote accepted

This is rather simple and effective:

  1. While editing your theme open a Nautilus window
  2. Kill Nautilus with killall, then open nautilus from the Terminal
  3. Make your changes to the theme and kill nautilus again then relaunch it

You can see the changes you made witout doing anything difficult. Most elements that you change of the theme will reflect in Nautilus.

share|improve this answer

Your Answer

 
discard

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.