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 use a custom Gtk theme along with the default Ambiance window controls. Using my theme, the Unity panel shows its very ugly default buttons when my window is maximized. Since I have the same window theme, I am assuming this comes from the Gtk theme. I tried copying and pasting a few things from Ambiance's gtkrc, but nothing has stuck so far.

What must a theme author do to gain pretty looking window buttons in Unity's panel?

share|improve this question
I don't think the gtkrc would affect that. – RolandiXor Apr 3 '11 at 3:58
up vote 5 down vote accepted

Dylan, metacity theme support has not been implemented yet in Unity. It's not a priority but someone is working on it ATM. I hope to see it in next unity release (sometime this week).

here is the bug report:

share|improve this answer
Aha, thank you for the link! :) – Dylan McCall Apr 4 '11 at 22:34
Is this also relevant for 11.10, or is something different at work? – detly Jan 19 '12 at 2:27
@detly The maximized window button theming is still relevant all the way up to 12.04 LTS, at least. Also, just making a general mention here for convenience that this bug is now Fix Released. – Christopher Kyle Horton Sep 6 '12 at 20:18

Owais is right but there is a work around as long as the theme you want to use matches the default Ambiance window borders.

Backup Ambiance:

sudo mv /usr/share/themes/Ambiance/gtk-2.0/ /usr/share/themes/Ambiance/gtk-2.0.bak/

Replace Ambiance:

sudo cp /usr/share/themes/<yourthemename>/gtk-2.0/ /usr/share/themes/Ambiance/gtk-2.0/

Logout and log back in. As an extra bonus, by "high jacking" the Ambiance theme the login screen is also themed. I have used this with the darker Equinox themes and have had no issue.

share|improve this answer

Your Answer


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.