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 was trying to change the selected items color from the default orange to something else, however, the option isn't there, as it used to be in the Appearance properties in previous versions of ubuntu. Any idea where it could be in the beta?

share|improve this question
add comment

4 Answers 4

up vote 22 down vote accepted

Replace the orange color in Ubuntu 11.10 (active color)

Install dconf-editor

sudo apt-get install dconf-tools

Start the program press Alt+F2 and then write dconf-editor and enter.

Path: org => gnome => desktop => interface
Find the line “gtk-color-scheme” and add this string:

bg_color:#f0f1f2;selected_bg_color:#023C88

Here it is then simply choose the color you want yourself, I have adark blue color, then just replace the last color in the string (#023C88) to change the highlight color to what you want.

More info here:
http://antecblue.wordpress.com/2011/10/17/replace-the-orange-color-in-ubuntu-11-10-active-color/

share|improve this answer
1  
editing the /usr/share/themes/Ambiance/gtk-3.0/settings.ini & /usr/share/themes/Ambiance/gtk-2.0/gtkrc is good for global changes, the method here works just fine for 'per user' changes if one has more than 1. Also as an override it protects against a light-themes update. You only need to add the colors you wish to override, in this case selected_bg_color:# –  doug Nov 19 '11 at 20:24
    
This seems not to work for KDE, is there an equivalent for Kubuntu? –  rubo77 Mar 6 '13 at 14:57
add comment

Right now, there is no way to change theme colors from the GUI as in previous versions. However, if you are desperate, you can change the color values in the following files to your desired color:

/usr/share/themes/Ambiance/gtk-3.0/gtk.css
/usr/share/themes/Ambiance/gtk-3.0/settings.ini
/usr/share/themes/Ambiance/gtk-2.0/gtkrc

Thanks goes to kolinab for this.

share|improve this answer
2  
Just found this out a few hours ago, it works! For anyone looking to do this, look to change every instance of this color: #f07746 . That is the Ubuntu orange color. I just changed it to #4f4f4f for a gray color. Thanks! Will award bounty when it lets me... –  Mike Lentini Oct 13 '11 at 23:51
    
In my experience, it seems the only place where color changes make any difference is in gtk.css. –  Alvin Row Oct 14 '11 at 3:17
    
That's odd, because changing settings.ini also changed some colors for me. –  Mike Lentini Oct 14 '11 at 13:23
    
That does not work for me. Actually, I do not see any effect, which is really weird. There are loads of orange left in progress bars, scroll bars, etc. Is this a new question? –  MPi Oct 27 '11 at 7:49
add comment

There ia also a rather neat GUI to do this, available here. For versions before 13.10, you would need to add this PPA, but since 13.10, you can just install it from the main repos with:

sudo apt-get install gtk-theme-config

Once installed and set it can do a rather neat job - GTK3 buttons and highlights based on images will likely persist in their original colour.

After making changes (make sure you turn the switches to ON), you need to logout/login to see most of the effect - here is an example with incredibly bad colour choice:

enter image description here

share|improve this answer
add comment

You can try installing Gnome Tweak Tool form the Ubuntu Software Center but I think that it doesn't have all the options that were available in the previous called Appearance.

You should edit the theme code I suppose.

share|improve this answer
4  
gnome-tweak-tool doesnt have this option. –  fossfreedom Sep 26 '11 at 19:42
    
That was the first thing I tried, Matteo, but it doesn't have that option –  boywithaxe Sep 26 '11 at 21:42
add comment

protected by Community Jan 13 '12 at 12:57

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.