文件操作 - metacity-theme-1.xml
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/themes/AgingGorilla/metacity-1/metacity-theme-1.xml
编辑文件内容
<?xml version="1.0"?> <metacity_theme> <info> <name>Gorilla</name> <author>Kenneth Christiansen <kenneth@gnu.org> Anders Carlsson <andersca@gnu.org></author> <copyright>Â Ximian, Inc, 2001</copyright> <date>February 8, 2002</date> <description>A port of the Gorilla theme by Jacub Steiner</description> </info> <!-- define constants --> <constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title --> <constant name="ButtonWidth" value="18"/> <!-- Button width --> <frame_geometry name="normal"> <distance name="left_width" value="6"/> <distance name="right_width" value="6"/> <distance name="bottom_height" value="6"/> <distance name="left_titlebar_edge" value="8"/> <distance name="right_titlebar_edge" value="8"/> <aspect_ratio name="button" value="1.0"/> <distance name="title_vertical_pad" value="0"/> <border name="title_border" left="0" right="0" top="7" bottom="4"/> <border name="button_border" left="0" right="0" top="9" bottom="0"/> </frame_geometry> <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> <!-- Buttons --> <draw_ops name="title_tile"> <line color="#494d59" x1="0" y1="0" x2="width" y2="0"/> <line color="#515961" x1="0" y1="1" x2="width" y2="1"/> </draw_ops> <!-- Inactive style --> <frame_style name="normal" geometry="normal"> <piece position="entire_background"> <draw_ops> <rectangle color="black" x="1" y="1" width="width - 2" height="height - 2" filled="true"/> <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> <rectangle color="gtk:bg[INSENSITIVE]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> <line color="gtk:bg[INSENSITIVE]" x1="1" y1="1" x2="2" y2="2"/> <line color="gtk:bg[INSENSITIVE]" x1="1" y1="height - 2" x2="1" y2="height"/> <line color="gtk:bg[INSENSITIVE]" x1="width - 2" y1="1" x2="width - 1" y2="2"/> <line color="gtk:bg[INSENSITIVE]" x1="width - 1" y1="height - 1" x2="width - 2" y2="height - 2"/> </draw_ops> </piece> <piece position="title"> <draw_ops> <title color="gray" x="IconTitleSpacing" y="0"/> </draw_ops> </piece> <piece position="titlebar"> <draw_ops> <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/> <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/> </draw_ops> </piece> <button function="close" state="normal"> <draw_ops> <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="close" state="pressed"> <draw_ops> <image filename="inactive-close-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="minimize" state="normal"> <draw_ops> <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="minimize" state="pressed"> <draw_ops> <image filename="inactive-minimize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="maximize" state="normal"> <draw_ops> <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="maximize" state="pressed"> <draw_ops> <image filename="inactive-maximize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="menu" state="normal"> <draw_ops> <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="menu" state="pressed"> <draw_ops> <image filename="inactive-menu-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> </frame_style> <!-- Active (focused) shaded style --> <frame_style name="normal_shaded" geometry="normal" parent="normal"> </frame_style> <!-- Active (focused) style --> <frame_style name="focused" geometry="normal"> <piece position="entire_background"> <draw_ops> <rectangle color="black" x="0" y="0" width="width" height="height" filled="true"/> <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> <rectangle color="gtk:bg[NORMAL]" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> <line color="gtk:bg[NORMAL]" x1="0" y1="0" x2="1" y2="1"/> <line color="gtk:bg[NORMAL]" x1="0" y1="height - 1" x2="1" y2="height"/> <line color="gtk:bg[NORMAL]" x1="width - 1" y1="0" x2="width" y2="1"/> <line color="gtk:bg[NORMAL]" x1="width" y1="height" x2="width - 1" y2="height - 1"/> </draw_ops> </piece> <piece position="title"> <draw_ops> <title color="white" x="IconTitleSpacing" y="0"/> </draw_ops> </piece> <piece position="titlebar"> <draw_ops> <rectangle color="black" x="6" y="6" width="width - 12" height="height - 10" filled="true"/> <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="height - 14"/> </draw_ops> </piece> <button function="close" state="normal"> <draw_ops> <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="close" state="pressed"> <draw_ops> <image filename="active-close-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="minimize" state="normal"> <draw_ops> <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="minimize" state="pressed"> <draw_ops> <image filename="active-minimize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="maximize" state="normal"> <draw_ops> <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="maximize" state="pressed"> <draw_ops> <image filename="active-maximize-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="menu" state="normal"> <draw_ops> <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> <button function="menu" state="pressed"> <draw_ops> <image filename="active-menu-button.png" x="0" y="0" width="width" height="height"/> </draw_ops> </button> </frame_style> <!-- Active (focused) shaded style --> <frame_style name="focused_shaded" geometry="normal" parent="focused"> </frame_style> <frame_style_set name="normal"> <frame focus="yes" state="shaded" style="focused_shaded"/> <frame focus="yes" state="normal" resize="both" style="focused"/> <frame focus="yes" state="maximized" style="focused"/> <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> <frame focus="no" state="normal" resize="both" style="normal"/> <frame focus="no" state="shaded" style="normal_shaded"/> <frame focus="no" state="maximized" style="normal"/> <frame focus="no" state="maximized_and_shaded" style="normal_shaded"/> </frame_style_set> <draw_ops name="blank"> <!-- nothing --> </draw_ops> <frame_style name="border" geometry="border" parent="normal"> <piece position="title" draw_ops="blank"/> </frame_style> <frame_style_set name="border"> <frame focus="yes" state="normal" resize="both" style="border"/> <frame focus="no" state="normal" resize="both" style="border"/> <frame focus="yes" state="maximized" style="border"/> <frame focus="no" state="maximized" style="border"/> <frame focus="yes" state="shaded" style="border"/> <frame focus="no" state="shaded" style="border"/> <frame focus="yes" state="maximized_and_shaded" style="border"/> <frame focus="no" state="maximized_and_shaded" style="border"/> </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="normal"/> <window type="border" style_set="border"/> <menu_icon function="maximize" state="normal"> <draw_ops> <image filename="active-maximize-menu-icon.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> </menu_icon> <menu_icon function="close" state="normal"> <draw_ops> <image filename="active-close-menu-icon.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> </menu_icon> <menu_icon function="minimize" state="normal"> <draw_ops> <image filename="active-minimize-menu-icon.png" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/> </draw_ops> </menu_icon> <menu_icon function="unmaximize" state="normal"> <draw_ops> </draw_ops> </menu_icon> </metacity_theme>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件