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 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
add comment

2 Answers

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: https://bugs.launchpad.net/unity/+bug/740232

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
1  
@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. –  WarriorIng64 Sep 6 '12 at 20:18
add comment

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
add comment

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.