/usr/share/themes/HumanLogin/metacity-1/metacity-theme-1.xml is in human-theme 0.39.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | <?xml version="1.0"?>
<metacity_theme>
<info>
<name>HumanLogin</name>
<author>kwwii and zniavre</author>
<copyright>Canonical LTD</copyright>
<date>2009</date>
<description>A theme inspired by Panther (by Grand Masta) and
Ximian Industrial.
</description>
</info>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!--
Modification and distribution of this theme is encouraged.
There are only two conditions:
1) If you modify this theme or one of its variants, please
be sure to acknowledge the previous authors. I'd like to thank
Grand Masta for his Panther theme, which inspired this
theme. I'd also like to acknowledge Tuomas Kuosmanen
(tigert) and everyone at Ximian involved with the
excellent Industrial theme.
2) Please document any new code you add by making sure that
there are comments describing what that new code does.
If you feel that a comment is unclear, please feel free
to rewrite it. But don't reduce the amount of documen-
tation too drastically! Well documented themes will
encourage more people to hack and tweak. Making this easier
for the next person will improve the number and quality
of themes that we have to choose from.
Please be sure to include something along the lines of
this statement in your theme!
-->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- DEFINE THE FRAME GEOMETRIES HERE -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<frame_geometry name="normal" rounded_top_left="true" rounded_bottom_left="true" rounded_top_right="true" rounded_bottom_right="true">
<distance name="left_width" value="6"/>
<distance name="right_width" value="6"/>
<distance name="bottom_height" value="6"/>
<distance name="left_titlebar_edge" value="4"/>
<distance name="right_titlebar_edge" value="4"/>
<distance name="button_width" value="18"/>
<distance name="button_height" value="18"/>
<distance name="title_vertical_pad" value="2"/>
<border name="title_border" left="0" right="0" top="2" bottom="2"/>
<border name="button_border" left="0" right="1" top="0" bottom="0"/>
</frame_geometry>
<!-- The normal geometry w/ border thicknesses set to zero -->
<frame_geometry name="normal_small_borders" parent="normal">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
</frame_geometry>
<!-- Utility windows (palettes, etc) have the same geometry as normal windows -->
<frame_geometry name="utility" title_scale="small" parent="normal"/>
<frame_geometry name="border" has_title="false">
<distance name="left_width" value="4"/>
<distance name="right_width" value="4"/>
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
<distance name="title_vertical_pad" value="4"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- Define constants that can be used later -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<constant name="ThickLineWidth" value="3"/>
<constant name="IconTitleSpacing" value="0"/>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- Begin Defining Drawing Operations -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- First we define how to draw buttons For each button we specify
draw_ops for the normal, prelight(hover), and pressed states.-->
<!-- The Menu Button -->
<draw_ops name="menu_button">
<image filename="menu-button.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="menu_button_prelight">
<image filename="menu-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="menu_button_pressed">
<image filename="menu-button-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<!-- The Minimize Button -->
<draw_ops name="minimize_button">
<image filename="button-min.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="minimize_button_prelight">
<image filename="button-min-focus.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="minimize_button_pressed">
<include name="minimize_button"/>
</draw_ops>
<!-- The Maximize Button -->
<draw_ops name="maximize_button">
<image filename="button-max.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="maximize_button_prelight">
<image filename="button-max-focus.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="maximize_button_pressed">
<include name="maximize_button"/>
</draw_ops>
<!-- The Restore Button -->
<draw_ops name="restore_button">
<image filename="button-max.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="restore_button_prelight">
<image filename="button-max-focus.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="restore_button_pressed">
<include name="restore_button"/>
</draw_ops>
<!-- The Close Button -->
<draw_ops name="close_button">
<image filename="button-close.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_button_prelight">
<image filename="button-close-focus.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_button_pressed">
<include name="close_button"/>
</draw_ops>
<!-- Inactive version of close, min, max, and restore -->
<draw_ops name="inactive_button">
<image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
</draw_ops>
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- Define Drawing Operations for the Window Frames -->
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- A draw_op that draws nothing -->
<draw_ops name="blank">
<!-- nothing -->
</draw_ops>
<!-- This draws the background for the windows. It sets up a dark grey outline, a lighter gray frame with a gradient at the top,
a window base color the same as the gtk:light[NORMAL] color, and a dark gray interior outline surrounding the "window base"
that applications use.-->
<draw_ops name="background">
<!-- First we draw a filled rectangle set to the window frame color (the light gray on the sides and bottom of the window).-->
<rectangle color="#191313" x="0" y="0" width="width" height="height" filled="true"/>
<!-- Now we draw the dark gray outline along the outer edge of the window. Note that, since the origin of the window
(the upper left corner) is (x,y)=(0,0), the lower right corner is (x,y)=(width-1,height-1). -->
<rectangle color="#433434" x="0" y="0" width="width-1" height="height-1" filled="false"/>
<!-- The "window base", the background that gtk2 draws things on, is drawn as a filled rectangle.-->
<rectangle color="#191313" x="left_width-1" y="top_height-1"
width="width-left_width-right_width+2" height="height-top_height-bottom_height" filled="true"/>
<!-- Draw a dark gray outline along the outside of the rectangle we just drew-->
<rectangle color="#191313"
x="left_width-1" y="top_height-1"
width="width-left_width-right_width+1"
height="height-top_height-bottom_height+1"/>
<!-- This is a somewhat better way of doing the corners and does not have a problem with the top right -->
<!-- top left -->
<line color="#433434" x1="0" y1="6" x2="1" y2="2"/>
<line color="#433434" x1="1" y1="3" x2="1" y2="4"/>
<line color="#433434" x1="1" y1="3" x2="2" y2="2"/>
<line color="#433434" x1="3" y1="1" x2="4" y2="1"/>
<line color="#433434" x1="3" y1="1" x2="1" y2="1"/>
<!-- top right -->
<line color="#433434" x1="width-1" y1="6" x2="width-1" y2="2"/>
<line color="#433434" x1="width-2" y1="3" x2="width-2" y2="4"/>
<line color="#433434" x1="width-2" y1="3" x2="width-3" y2="2"/>
<line color="#433434" x1="width-4" y1="1" x2="width-5" y2="1"/>
<line color="#433434" x1="width-4" y1="1" x2="width-1" y2="1"/>
<!-- bottom left -->
<line color="#433434" x1="1" y1="height-4" x2="0" y2="height-7"/>
<line color="#433434" x1="1" y1="height-4" x2="1" y2="height-5"/>
<line color="#433434" x1="2" y1="height-3" x2="2" y2="height-3"/>
<line color="#433434" x1="2" y1="height-2" x2="4" y2="height-2"/>
<!-- bottom right -->
<line color="#433434" x1="width-2" y1="height-4" x2="width-1" y2="height-7"/>
<line color="#433434" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
<line color="#433434" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
<line color="#433434" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
</draw_ops>
<!-- Now we set up draw_ops for drawing the title text in different window types -->
<!-- This is for drawing the title text in a focused window. We draw the title twice; one in medium gray
and then again in black to give a slight shadow effect. If it looks bad, simply remove the first <title/>
operation. The title is centered in the window, as opposed to centered in the title area. -->
<constant name="IconSpacing" value="40"/> <!-- spacing between mini-icon and title text -->
<draw_ops name="title_text_focused">
</draw_ops>
<!-- This draws the title text in background (unfocused) windows. -->
<draw_ops name="title_text">
</draw_ops>
<!-- Set up draw_ops for drawing the actual title. These could be more involved,
but right now we just include the draw_ops we just defined for drawing the
title text in the titlebar. -->
<draw_ops name="title_normal">
<include name="title_text"/>
</draw_ops>
<draw_ops name="title_focused">
<include name="title_text_focused"/>
</draw_ops>
<draw_ops name="title_utility">
<include name="title_text"/>
</draw_ops>
<draw_ops name="title_utility_focused">
<include name="title_text_focused"/>
</draw_ops>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- Define how to use the draw_ops to draw the window frames.
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- First we set up normal, focused windows. They use the normal window
geometry. -->
<frame_style name="normal_focused" geometry="normal">
<piece position="entire_background" draw_ops="background"/>
<piece position="title" draw_ops="title_focused"/>
<!-- Use the button definitions we made earlier, telling metacity how to draw
buttons in normal, prelight, and pressed states. Any undefined state
defautls to the normal style. -->
<button function="close" state="normal" draw_ops="close_button"/>
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_button"/>
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_button"/>
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
<button function="menu" state="normal" draw_ops="menu_button"/>
<button function="menu" state="prelight" draw_ops="menu_button_prelight"/>
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
</frame_style>
<!-- This sets up background (unfocused) windows. They have grayed out title text
and their buttons are drawn in the inactive style. -->
<frame_style name="normal_unfocused" geometry="normal">
<piece position="entire_background" draw_ops="background"/>
<piece position="title" draw_ops="title_normal"/>
<!-- Even though buttons are drawn as inactive, we define pressed states since you
can press a button on a window when it is unfocused. Depending on the button,
the window may or may not change focus before the mouse button is released.-->
<button function="close" state="normal" draw_ops="inactive_button"/>
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
<button function="minimize" state="normal" draw_ops="inactive_button"/>
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
<button function="maximize" state="normal" draw_ops="inactive_button"/>
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
<button function="menu" state="normal" draw_ops="menu_button"/>
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
</frame_style>
<!-- Frame style for a window that is "rolled up" (windowshade or shaded mode). This
needs fixing, as the outlines on the bottom corners are not drawn correctly. -->
<frame_style name="shaded_focused" geometry="normal" parent="normal_focused">
<piece position="title" draw_ops="title_focused"/>
</frame_style>
<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
</frame_style>
<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
</frame_style>
<frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused">
<piece position="title" draw_ops="title_utility"/>
</frame_style>
<frame_style name="utility_focused" geometry="utility" parent="normal_focused">
<piece position="title" draw_ops="title_utility_focused"/>
</frame_style>
<frame_style name="border" geometry="border" parent="normal_unfocused">
<piece position="entire_background" draw_ops="background"/>
<piece position="title" draw_ops="blank"/>
</frame_style>
<frame_style_set name="normal">
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
<frame focus="yes" state="maximized" style="maximized_focused"/>
<frame focus="no" state="maximized" style="maximized_unfocused"/>
<frame focus="yes" state="shaded" style="shaded_focused"/>
<frame focus="no" state="shaded" style="normal_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/>
<frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/>
</frame_style_set>
<frame_style_set name="utility" parent="normal">
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
<frame focus="yes" state="maximized" style="utility_focused"/>
<frame focus="no" state="maximized" style="utility_unfocused"/>
<frame focus="yes" state="shaded" style="utility_focused"/>
<frame focus="no" state="shaded" style="utility_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
</frame_style_set>
<frame_style_set name="border" parent="normal">
<frame focus="yes" state="normal" resize="both" style="border"/>
<frame focus="no" state="normal" resize="both" style="border"/>
<frame focus="yes" state="maximized" style="utility_focused"/>
<frame focus="no" state="maximized" style="utility_unfocused"/>
<frame focus="yes" state="shaded" style="utility_focused"/>
<frame focus="no" state="shaded" style="utility_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
</frame_style_set>
<window type="normal" style_set="normal"/>
<window type="dialog" style_set="normal"/>
<window type="modal_dialog" style_set="normal"/>
<window type="menu" style_set="normal"/>
<window type="utility" style_set="utility"/>
<window type="border" style_set="border"/>
<menu_icon function="close" state="normal" draw_ops="close_button"/>
<menu_icon function="maximize" state="normal" draw_ops="maximize_button"/>
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button"/>
<menu_icon function="minimize" state="normal" draw_ops="minimize_button"/>
</metacity_theme>
|