Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I tried gnome-shell out recently, and since the ambiance theme just looks plain ugly on it, I used gnome-tweak-tools to change the window and gtk theme to Adwaita.

So, after that, I went back to unity and obviously changed it back to Ambiance, still using gnome-tweak-tools.

Now, in certain apps, I find white space between the window borders and content. Due to my limited English, I won't be able to properly describe what happened, so I guess I'm just going to show it using a screenshot.

It's like, nothing that bad. But it just looks so ugly.

So, can anyone help me?

I'm on ubuntu 12.04 also.

share|improve this question

Today after installing Gnome Shell from the Software Center in Ubuntu 12.10 my Ambience and Radiance themes got corrupted as well. I found this post on the Ubuntu Forums which lead me to the solution for the problem.

The problem seems to be that after installing Gnome Shell the default theme is Adwaita (in gnome-tweak-tool). It tells me that Adwaita is the default and before it was Ambiance. And because of this when I select the theme Ambiance some components of Adwaita persist, especially selected items in the menu bar in Gnome Classic appear as gray text on gray background.

I noticed that this, in contrast to what nils8950 said, only happens with GTK2 applications, not with GTK3 applications.

So after reading that Ubuntu Forum post, I looked at the contents of the file ~/.gtkrc-2.0 which is a hidden file in your home directory. The contents of this file looked as follows:

# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
include "/home/serrano/.gtkrc-2.0.mine"
# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT

Which explains the problem. You can see that it loads a theme file for the Adwaita theme. You could simply remove the line that reads include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" to solve this problem, though the file clearly states DO NOT EDIT. You can see that this file was auto-written by a tool named gtk-theme-switch2. As an alternative, we can simply use that tool to change the theme back to Ambiance. If you don't already have it installed:

sudo apt-get install gtk-theme-switch

Then execute the tool from the terminal:

gtk-theme-switch2

Select Ambiance from the dropdown menu and press the Apply button. Make sure Ambiance is also selected in gnome-tweak-tool. You may need to restart some applications to see the changes (no need to reboot the system).

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.
{"cc_re__cc_re__cc_by_sa_3_0": ["                    <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2016 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2016.5.27.3620\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Ubuntu and Canonical are registered trademarks of Canonical Ltd.\r\n                </div>\r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Ask Ubu"], "copyright__copyright__copyright": ["\nThen execute the tool from the terminal:\n\ngtk-theme-switch2\n\nSelect Ambiance from the dropdown menu and press the Apply button. Make sure Ambiance is also selected in gnome-tweak-tool. You may need to restart some applications to see the changes (no need to reboot the system).\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}