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'm using gnome-shell. I've tried gnome-color-chooser and gnome tweak, but gnome-color-chooser does not work on GTK3 and, as far as I know, nor does it work on GTK2; the option isn't in gnome tweak. I have tried using dconf-editor, but I'm not sure what I'm doing. I've tried editing these files but I am not exactly sure what I should be changing.

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

I am trying to make my Firefox Nightly window and the other windows to have the same blue color (they are currently white) as the date/time and the weather extensions.

I am using the Ice Cream Sandwich shell theme.

share|improve this question
    
我很抱歉 , 如果中国是坏的。 –  HaruSiga77 Feb 6 '12 at 8:04
    
I believe this will benifit those who are interested in customizing their setup and/or looking for an alternative to gnome-color-chooser. Maybe gnome-color-chooser will be rewriten and implemented in System Settings? –  HaruSiga77 Feb 6 '12 at 8:19

1 Answer 1

You are looking at wrong place.

Window titles are not drawn by GTK, it is drawn by Metacity in Gnome Shell (by Compiz in Unity, etc...)

I haven't tried but the right file is placed under metacity folder in a theme's main folder. The name is metacity-theme.xml (or something like that)

And the code block that will be changed :

<draw_ops name="draw_title_text_normal">
    <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
    <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)-1"/>
    <title color="#333" x="9" y="(((height - title_height) / 2) `max` 0)"/>
    <title color="#333" x="11" y="(((height - title_height) / 2) `max` 0)"/>
    <title color="#dfdbd2" x="10" y="(((height - title_height) / 2) `max` 0)"/>
</draw_ops>

<draw_ops name="draw_title_text_unfocused">
    <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
    <title color="#333" x="10" y="(((height - title_height) / 2) `max` 0)-1"/>
    <title color="#333" x="9" y="(((height - title_height) / 2) `max` 0)"/>
    <title color="#333" x="11" y="(((height - title_height) / 2) `max` 0)"/>
    <title color="#807d78" x="10" y="(((height - title_height) / 2) `max` 0)"/>
</draw_ops>
share|improve this answer
    
Mutter is a product based on Metacity. Mutter = Metacity + Clutter –  sHellboy Feb 7 '12 at 2:11

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.