Ubuntu – Reload Gtk+ 3.0 theme

gtk3themes

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)?

Best Answer

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.

Related Question