/usr/share/themes/Dust Sand/metacity-1/metacity-theme-1.xml is in gnome-themes-ubuntu 0.6.1.
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 | <?xml version="1.0"?>
<metacity_theme>
<info>
<name>Dust Sand</name>
<author>Kido Mariano, Rico Sta. Cruz</author>
<copyright>GPL</copyright>
<date>Jul 28, 2008</date>
<description>Metacity theme</description>
</info>
<!--
General window layout (geometric stuff)
-->
<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true">
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="2"/>
<distance name="right_titlebar_edge" value="4"/>
<distance name="button_width" value="20"/>
<distance name="button_height" value="20"/>
<distance name="title_vertical_pad" value="1"/>
<border name="title_border" left="2" right="2" top="3" bottom="0"/>
<border name="button_border" left="0" right="0" top="2" bottom="1"/>
</frame_geometry>
<frame_geometry name="frame_geometry_abnormal" title_scale="medium" rounded_top_left="false" rounded_top_right="false">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="1"/>
<distance name="right_titlebar_edge" value="2"/>
<distance name="button_width" value="20"/>
<distance name="button_height" value="20"/>
<distance name="title_vertical_pad" value="0"/>
<border name="title_border" left="0" right="0" top="3" bottom="0"/>
<border name="button_border" left="0" right="0" top="2" bottom="1"/>
</frame_geometry>
<!--
Window Title
-->
<draw_ops name="draw_title_text_normal">
<title x="1" y="(((height - title_height) / 2) `max` 2) + 1" color="#D7D3CD"/>
<title x="0" y="(((height - title_height) / 2) `max` 2)" color="#323232"/>
</draw_ops>
<draw_ops name="draw_title_text_inactive">
<title x="0" y="(((height - title_height) / 2) `max` 2)" color="#727262"/>
</draw_ops>
<!--
Construct titlebar from rectangles instead so we can pick up the GTK theme
-->
<draw_ops name="draw_title">
<!-- Background gradient -->
<gradient type="vertical" x="0" y="0" width="width+9" height="height">
<color value="#ccc8c1" />
<color value="#c1bdb5" />
</gradient>
<!-- Topmost dark line -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/>
<!-- Darkening of the left arch -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="4" y1="1" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="2" y1="2" y2="2"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="3" y2="3"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="4" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="0" y1="5" y2="30"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-5" x2="width" y1="1" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-3" x2="width" y1="2" y2="2"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="3" y2="3"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="4" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-1" x2="width" y1="5" y2="90"/>
<!-- Top highlight -->
<!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) -->
<tint color="#ffffff" alpha="0.55" x="5" y="1" width="width - 10" height="1"/>
<tint color="#ffffff" alpha="0.15" x="5" y="2" width="width - 10" height="1"/>
</draw_ops>
<draw_ops name="draw_title_inactive">
<!-- Background gradient -->
<gradient type="vertical" x="0" y="0" width="width+9" height="height">
<color value="#ccc8c1" />
<color value="#c1bdb5" />
</gradient>
<!-- Topmost dark line -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/>
<!-- Darkening of the left arch -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="4" y1="1" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="2" y1="2" y2="2"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="3" y2="3"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="1" y1="4" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="0" y1="5" y2="30"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-5" x2="width" y1="1" y2="1"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-3" x2="width" y1="2" y2="2"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="3" y2="3"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-2" x2="width" y1="4" y2="4"/>
<line color="shade/gtk:bg[NORMAL]/0.74" x1="width-1" x2="width" y1="5" y2="90"/>
<!-- Top highlight -->
<!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) -->
<tint color="#ffffff" alpha="0.55" x="5" y="1" width="width - 10" height="1"/>
<tint color="#ffffff" alpha="0.15" x="5" y="2" width="width - 10" height="1"/>
</draw_ops>
<draw_ops name="draw_title_maximized">
<!-- Background gradient -->
<gradient type="vertical" x="0" y="0" width="width+9" height="height">
<color value="#ccc8c1" />
<color value="#c1bdb5" />
</gradient>
<!-- Topmost dark line -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/>
<!-- Top highlight -->
<!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) -->
<tint color="#ffffff" alpha="0.55" x="0" y="1" width="width" height="1"/>
<tint color="#ffffff" alpha="0.15" x="0" y="2" width="width" height="1"/>
</draw_ops>
<draw_ops name="draw_title_maximized_inactive">
<!-- Background gradient -->
<gradient type="vertical" x="0" y="0" width="width+9" height="height">
<color value="#ccc8c1" />
<color value="#c1bdb5" />
</gradient>
<!-- Topmost dark line -->
<line color="shade/gtk:bg[NORMAL]/0.74" x1="0" x2="width" y1="0" y2="0"/>
<!-- Top highlight -->
<!-- This uses <tint> (which supports alpha) instead of <line> (which doesn't) -->
<tint color="#ffffff" alpha="0.55" x="0" y="1" width="width" height="1"/>
<tint color="#ffffff" alpha="0.15" x="0" y="2" width="width" height="1"/>
</draw_ops>
<!--
The frame around windows
-->
<draw_ops name="draw_frame">
<rectangle color="shade/gtk:bg[NORMAL]/0.74" x="0" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<!--Borderless only: make bottom border less apparent. We can do this now since our statusbars are light.-->
<draw_ops name="bottom_edge">
<rectangle color="shade/gtk:bg[NORMAL]/0.74" x="0" y="0" width="width" height="height" filled="true"/>
<gradient type="vertical" x="1" y="height-6" width="width-2" height="5">
<color value="shade/gtk:bg[NORMAL]/0.85"/>
<color value="shade/gtk:bg[NORMAL]/0.74"/>
</gradient>
</draw_ops>
<!--
Buttons
-->
<!-- close button-->
<draw_ops name="button_close_normal">
<image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_close_prelight">
<image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_close_inactive_prelight">
<image filename="button_close_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<draw_ops name="button_close_pressed">
<image filename="button_close_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_close_inactive">
<image filename="button_close_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<!-- maximize button-->
<draw_ops name="button_max_normal">
<image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_max_prelight">
<image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_max_inactive_prelight">
<image filename="button_max_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<draw_ops name="button_max_pressed">
<image filename="button_max_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_max_inactive">
<image filename="button_max_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<!-- minimize button-->
<draw_ops name="button_min_normal">
<image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_min_prelight">
<image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_min_inactive_prelight">
<image filename="button_min_prelight.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<draw_ops name="button_min_pressed">
<image filename="button_min_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_min_inactive">
<image filename="button_min_normal.png" x="0" y="1" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<!-- menu button -->
<!--
<draw_ops name="button_menu_normal">
<image filename="button_menu_normal.png" x="0" y="2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_menu_prelight">
<image filename="button_menu_prelight.png" x="0" y="2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_menu_inactive_prelight">
<image filename="button_menu_prelight.png" x="0" y="2" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>
<draw_ops name="button_menu_pressed">
<image filename="button_menu_pressed.png" x="0" y="2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="button_menu_inactive">
<image filename="button_menu_normal.png" x="0" y="2" width="object_width" height="object_height" alpha="0.3"/>
</draw_ops>-->
<!-- menu icon -->
<draw_ops name="button_menu_normal">
<icon x="2" y="2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>
<draw_ops name="button_menu_prelight">
<icon x="2" y="2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>
<draw_ops name="button_menu_inactive_prelight">
<icon x="2" y="2" width="mini_icon_width" height="mini_icon_height" alpha="0.3"/>
</draw_ops>
<draw_ops name="button_menu_pressed">
<icon x="2" y="2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>
<draw_ops name="button_menu_inactive">
<icon x="2" y="2" width="mini_icon_width" height="mini_icon_height" alpha="0.3"/>
</draw_ops>
<!--
Frame styles
-->
<!-- normal -->
<frame_style name="frame_style_normal_focused" geometry="frame_geometry_normal">
<piece position="title" draw_ops="draw_title_text_normal"/>
<piece position="titlebar" draw_ops="draw_title"/>
<piece position="left_edge" draw_ops="draw_frame"/>
<piece position="right_edge" draw_ops="draw_frame"/>
<piece position="bottom_edge" draw_ops="bottom_edge"/>
<button function="close" state="normal" draw_ops="button_close_normal"/>
<button function="close" state="prelight" draw_ops="button_close_prelight"/>
<button function="close" state="pressed" draw_ops="button_close_pressed"/>
<button function="minimize" state="normal" draw_ops="button_min_normal"/>
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
<button function="minimize" state="pressed" draw_ops="button_min_pressed"/>
<button function="maximize" state="normal" draw_ops="button_max_normal"/>
<button function="maximize" state="prelight" draw_ops="button_max_prelight"/>
<button function="maximize" state="pressed" draw_ops="button_max_pressed"/>
<button function="menu" state="normal" draw_ops="button_menu_normal"/>
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
<button function="menu" state="pressed" draw_ops="button_menu_pressed"/>
</frame_style>
<frame_style name="frame_style_normal_unfocused" geometry="frame_geometry_normal">
<piece position="title" draw_ops="draw_title_text_inactive"/>
<piece position="titlebar" draw_ops="draw_title_inactive"/>
<piece position="left_edge" draw_ops="draw_frame"/>
<piece position="right_edge" draw_ops="draw_frame"/>
<piece position="bottom_edge" draw_ops="bottom_edge"/>
<button function="close" state="normal" draw_ops="button_close_inactive"/>
<button function="close" state="prelight" draw_ops="button_close_inactive_prelight"/>
<button function="close" state="pressed" draw_ops="button_close_inactive"/>
<button function="minimize" state="normal" draw_ops="button_min_inactive"/>
<button function="minimize" state="prelight" draw_ops="button_min_inactive_prelight"/>
<button function="minimize" state="pressed" draw_ops="button_min_inactive"/>
<button function="maximize" state="normal" draw_ops="button_max_inactive"/>
<button function="maximize" state="prelight" draw_ops="button_max_inactive_prelight"/>
<button function="maximize" state="pressed" draw_ops="button_max_inactive"/>
<button function="menu" state="normal" draw_ops="button_menu_inactive"/>
<button function="menu" state="prelight" draw_ops="button_menu_inactive_prelight"/>
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
</frame_style>
<frame_style name="frame_style_maximized_focused" geometry="frame_geometry_abnormal">
<piece position="title" draw_ops="draw_title_text_normal"/>
<piece position="titlebar" draw_ops="draw_title_maximized"/>
<piece position="left_edge" draw_ops="draw_frame"/>
<piece position="right_edge" draw_ops="draw_frame"/>
<piece position="bottom_edge" draw_ops="bottom_edge"/>
<button function="close" state="normal" draw_ops="button_close_normal"/>
<button function="close" state="prelight" draw_ops="button_close_prelight"/>
<button function="close" state="pressed" draw_ops="button_close_pressed"/>
<button function="minimize" state="normal" draw_ops="button_min_normal"/>
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
<button function="minimize" state="pressed" draw_ops="button_min_pressed"/>
<button function="maximize" state="normal" draw_ops="button_max_normal"/>
<button function="maximize" state="prelight" draw_ops="button_max_prelight"/>
<button function="maximize" state="pressed" draw_ops="button_max_pressed"/>
<button function="menu" state="normal" draw_ops="button_menu_normal"/>
<button function="menu" state="prelight" draw_ops="button_menu_prelight"/>
<button function="menu" state="pressed" draw_ops="button_menu_normal"/>
</frame_style>
<frame_style name="frame_style_maximized_unfocused" geometry="frame_geometry_abnormal">
<piece position="title" draw_ops="draw_title_text_inactive"/>
<piece position="titlebar" draw_ops="draw_title_maximized_inactive"/>
<piece position="left_edge" draw_ops="draw_frame"/>
<piece position="right_edge" draw_ops="draw_frame"/>
<piece position="bottom_edge" draw_ops="bottom_edge"/>
<button function="close" state="normal" draw_ops="button_close_inactive"/>
<button function="close" state="prelight" draw_ops="button_close_prelight"/>
<button function="close" state="pressed" draw_ops="button_close_inactive"/>
<button function="minimize" state="normal" draw_ops="button_min_inactive"/>
<button function="minimize" state="prelight" draw_ops="button_min_prelight"/>
<button function="minimize" state="pressed" draw_ops="button_min_inactive"/>
<button function="maximize" state="normal" draw_ops="button_max_inactive"/>
<button function="maximize" state="prelight" draw_ops="button_max_prelight"/>
<button function="maximize" state="pressed" draw_ops="button_max_inactive"/>
<button function="menu" state="normal" draw_ops="button_menu_inactive"/>
<button function="menu" state="prelight" draw_ops="button_menu_inactive"/>
<button function="menu" state="pressed" draw_ops="button_menu_inactive"/>
</frame_style>
<frame_style_set name="frame_style_set_normal">
<frame focus="yes" state="normal" resize="both" style="frame_style_normal_focused"/>
<frame focus="no" state="normal" resize="both" style="frame_style_normal_unfocused"/>
<frame focus="yes" state="maximized" style="frame_style_maximized_focused"/>
<frame focus="no" state="maximized" style="frame_style_maximized_unfocused"/>
<frame focus="yes" state="shaded" style="frame_style_normal_focused"/>
<frame focus="no" state="shaded" style="frame_style_normal_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="frame_style_maximized_focused"/>
<frame focus="no" state="maximized_and_shaded" style="frame_style_maximized_unfocused"/>
</frame_style_set>
<window type="normal" style_set="frame_style_set_normal"/>
<window type="dialog" style_set="frame_style_set_normal"/>
<window type="modal_dialog" style_set="frame_style_set_normal"/>
<window type="menu" style_set="frame_style_set_normal"/>
<window type="utility" style_set="frame_style_set_normal"/>
<window type="border" style_set="frame_style_set_normal"/>
<menu_icon function="close" state="normal" draw_ops="button_close_normal"/>
<menu_icon function="maximize" state="normal" draw_ops="button_max_normal"/>
<menu_icon function="unmaximize" state="normal" draw_ops="button_max_normal"/>
<menu_icon function="minimize" state="normal" draw_ops="button_min_normal"/>
</metacity_theme>
|