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.

Is it possible to change the window button color of the close, minimise and maximise buttons of the Ambience theme from orange to an user defined color? I tried to find anything relavant in the gtkrc, but failed.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

If you refer to the minimize, maximize and close buttons: yes you can.

You can download windows border themes from: http://art.gnome.org/themes/metacity in which you will find several different styles for customizing those buttons.

If you prefer to use GTK and depending on the theme of your choice, some themes allow you to give a little bit more customization to its items. Simply go to System/Preferences/Appearance and clic on the "Customize" button of the "Theme" tab.

There is also a link which will lead you to the website I suggested above.

Here is a screenshot for you to see what I mean:

enter image description here

Additionally, you can use Emerald theme manager in order to have more stylized windows decorations and a little more control on the appearance of the items.

Simply install emerald and run the emerald --replace command in a terminal in order to change your windows decorator, then open your Emerald Theme Manager on which you will be able to easily manage and edit your themes.

Here is the Emerald theme manager in action:

enter image description here

In the next screenshot, I have changed my emerald theme in order to show you how emerald is handling the buttons that I refer (minimize, maximize, close, etc.) And I am showing the "Buttons" Tab inside of the "Edit Themes" section of emerald theme manager.

enter image description here

Further more, you can also create your own themes both for GTK and Emerald. You may find information on the related sections of the window decorator's website.

I hope this give you an idea and I am sorry if I misunderstood your question.

EDITED:

Well, after watching your comment now I understand what you mean.

For that purpose what you can do is to make a copy of the current png images for the theme you wish to change. "Ambiance" png images are inside of the

/usr/share/themes/Ambiance/metacity-1

This screenshot illustrates what I mean:

enter image description here

So I suggest you to make a copy of those files in a new folder and edit them using your favorite image manipulation program (gimp would be great) in order to change the hue, saturation and other things as you wish.

After that, drop the images back to the original folder but you will be in the need to run sudo nautilus in a terminal in order to be able to "paste" your edited images in the folder. After that you may need to restart (at least the X) in order to the changes to take effect.

In the next image I have opened the "close.png" png image in order to edit it. I am using the selection tool in gimp in order to change the "hue/lightness and saturation" of the selection to a different color. This tool can be reached in the "Colors" menu of Gimp.

enter image description here

REMEMBER: To make a backup of your files and good luck my friend!

share|improve this answer
    
Thanks for the guide! But i meant the to change the color of the close, minimise and maximise buttons of the Ambience theme. I like the Ubuntu default theme, and would like to keep ist, I just cant stand the orange of the buttons. I that somehow possible? –  ffd8ffe0 Feb 19 '11 at 18:32
    
Yes you can, as I added in my original answer in the EDITED section. Take a look at it. This could be a hard work but it is worth. –  Geppettvs D'Constanzo Feb 19 '11 at 18:58
    
Thank you so much! –  ffd8ffe0 Feb 19 '11 at 19:05

If you mean the menu button ubuntu-tweak can change this see http://ubuntu-tweak.com/

share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Mateo Aug 14 '12 at 1:37

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.