Gnome 3 -The switch!
Moderators: b1o, jkerr82508
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
*wants color for title bars - hates the plain white. Loathes it.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Gnome 3 -The switch!
Coming up.....
If you make the following changes to /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
You will get Blue and Light Blue - you can play around with the colors. (Make a backup first too).
<ALT>+<F2> and fill inn r to test it - it works!

If you make the following changes to /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
Code: Select all
....
<constant name="C_border_focused" value="#000064" />
<constant name="C_border_unfocused" value="#0052FF" />
<constant name="C_border_attached_focused" value="#000064" />
<constant name="C_titlebar_focused_hilight" value="#000064" />
<constant name="C_titlebar_unfocused" value="#0052FF" />
....
much further down
.....
<draw_ops name="titlebar_fill_focused_alt">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#6B6EAC"/>
<color value="#000064"/>
</gradient>
</draw_ops>
....
<draw_ops name="titlebar_fill_unfocused">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#7096E3"/>
<color value="#0052FF"/>
</gradient>
</draw_ops>
....
You will get Blue and Light Blue - you can play around with the colors. (Make a backup first too).
<ALT>+<F2> and fill inn r to test it - it works!
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
Gracias amundo.
May try also, starting compiz manually and seeing if I can get Emerald going. If I can, I'll be all the happier.
Someday when there's time though, unfortunately. Life's become mind-blowingly busy lately.
May try also, starting compiz manually and seeing if I can get Emerald going. If I can, I'll be all the happier.
Someday when there's time though, unfortunately. Life's become mind-blowingly busy lately.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Gnome 3 -The switch!
De nada - but you are right of course Emerald or some decoration tool is much better than this hacking. I guess it will come eventually. I am told that the Gnome guys had to rush the release because of Unity. So I guess there are a lot of improvements to be expected.
I am so pleased with this hack so it is time to show off my gnome3-shell again
I am so pleased with this hack so it is time to show off my gnome3-shell again
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
Do dat be AWN I see in that? Or kiba-dock?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Gnome 3 -The switch!
Dat wood b AWN
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
Aye, cap'n. *Ooooohhm,,, oooooohhm, *chants in homage
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
viking60 wrote:Coming up.....
If you make the following changes to /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xmlCode: Select all
....
<constant name="C_border_focused" value="#000064" />
<constant name="C_border_unfocused" value="#0052FF" />
<constant name="C_border_attached_focused" value="#000064" />
<constant name="C_titlebar_focused_hilight" value="#000064" />
<constant name="C_titlebar_unfocused" value="#0052FF" />
....
much further down
.....
<draw_ops name="titlebar_fill_focused_alt">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#6B6EAC"/>
<color value="#000064"/>
</gradient>
</draw_ops>
....
<draw_ops name="titlebar_fill_unfocused">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#7096E3"/>
<color value="#0052FF"/>
</gradient>
</draw_ops>
....
This no workied for me. Need to know where I went wrong. Still stuck with white.

cat /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml is here.
Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Gnome 3 -The switch!
Ok after yesterdays update I have to redo it anyway so gimme a minute...
Let us start with the title bars first:
find
And make it look exactly like this:
Then "Arrow down" to
Here we have to change a lot! Make it look exactly like this:
You will have to add the gradient and replace the second line. So it is best to delete it and cut and paste from here.
Save it and make a first test with <ALT>+<F2> and fill in r hit enter and it restarts.
When you open two windows the active one will have a dark blue bar and the inactive one will be light blue.
The text still looks like shite though.. but we are not finished...
Ok Let's finish:
Make these look exactly like this:
save it and do the <ALT>+<F2> +r
Now it should look like this:

Once you have it working you can play around with the colors here of course.
When done it is time to prevent this file from being "updated" in Arch it is easy! In /etc/pacman.conf I enter:
No slash at the beginning!
The entire enchilada here
Let us start with the title bars first:
Code: Select all
sudo nano /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xmlfind
Code: Select all
<draw_ops name="titlebar_fill_focused_alt">And make it look exactly like this:
Code: Select all
<draw_ops name="titlebar_fill_focused_alt">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#6B6EAC" />
<!-- <color value="gtk:bg[NORMAL]"/> -->
<!-- <color value="blend/gtk:bg[NORMAL]/#000000/0.03" /> -->
<color value="#000064"/>
</gradient>
</draw_ops>
Then "Arrow down" to
Code: Select all
<draw_ops name="titlebar_fill_unfocused">Here we have to change a lot! Make it look exactly like this:
Code: Select all
<draw_ops name="titlebar_fill_unfocused">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#7096E3"/>
<color value="#0052FF"/>
</gradient>
</draw_ops>
You will have to add the gradient and replace the second line. So it is best to delete it and cut and paste from here.
Save it and make a first test with <ALT>+<F2> and fill in r hit enter and it restarts.
When you open two windows the active one will have a dark blue bar and the inactive one will be light blue.
The text still looks like shite though.. but we are not finished...
Ok Let's finish:
Make these look exactly like this:
Code: Select all
<!-- meaningfull constants -->
<constant name="C_border_focused" value="blend/#000064/gtk:bg[NORMAL]/0.6" />
<constant name="C_border_unfocused" value="blend/#0052FF/gtk:bg[NORMAL]/0.8" />
<constant name="C_border_attached_focused" value="blend/#000064/gtk:bg[NORMAL]/0.4" />
<constant name="C_titlebar_focused_hilight" value="#000064" />
<constant name="C_titlebar_unfocused" value="#0052FF" />
<constant name="C_title_focused" value="#EADD14" />
<constant name="C_title_focused_hilight" value="#101000" />
<constant name="C_title_unfocused" value="blend/gtk:text[NORMAL]/gtk:bg[NORMAL]/0.9" />
save it and do the <ALT>+<F2> +r
Now it should look like this:
Once you have it working you can play around with the colors here of course.
When done it is time to prevent this file from being "updated" in Arch it is easy! In /etc/pacman.conf I enter:
Code: Select all
NoUpgrade = usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xmlThe entire enchilada here
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
viking60 wrote:Ok after yesterdays update I have to redo it anyway so gimme a minute...
SCORE!!! I had made those changes BEFORE I updated. Will try now, but remember, I'm not on gnome-shell with it so Alt+F2 then r doesn't work for me. I have to logout/login. BBIAF.
Edit: Nope, still no love, after 1st & 2nd steps. Could this be, *because* I'm not on gnome-shell perhaps? Wait, nope, because it's a metacity file, which shouldn't affect, or be affected by gnome-shell.
Therefore, since it's a root file (one in root), I wonder if I need to reboot instead of just logout/login?
Also, wondering if being on clearlooks-colors theme for my icons is throwing a kink in the works?
Going to try your whole enchilada, logout/login, and go from there. Will report back. Thanks.
Edit2: Nope, still no joy. *Somehow*, what's happening in root's metacity isn't "transferring over" so to speak, to what's going on with regular user here. I have not only logged out/logged in, but also rebooted.
Here's what I have in the tweak tool:

Here's the permissions on that file we've been working with:

I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Gnome 3 -The switch!
Yes this will only work in Gnome3-shell. In Gnome3 Fallback you have Compiz and Emerald working so I don't see why you would want it there?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Gnome 3 -The switch!
For times when I'm not running compiz?
I don't do these things full-time, y'know. lol.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html