Skip to content

Instantly share code, notes, and snippets.

@RushOnline
Created September 26, 2014 06:14
Show Gist options
  • Save RushOnline/0f520c6202fb10cc8c43 to your computer and use it in GitHub Desktop.
Save RushOnline/0f520c6202fb10cc8c43 to your computer and use it in GitHub Desktop.
Remove title bar on maximized windows (Gnome 3.10 Ambiance Theme)
diff --git a/metacity-1/metacity-theme-1.xml b/metacity-1/metacity-theme-1.xml
index 7aaeb54..e35b804 100644
--- a/metacity-1/metacity-theme-1.xml
+++ b/metacity-1/metacity-theme-1.xml
@@ -23,18 +23,19 @@
<border name="button_border" left="0" right="0" top="1" bottom="0"/>
</frame_geometry>
-<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
+<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" has_title="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="10"/>
- <distance name="right_titlebar_edge" value="10"/>
- <distance name="button_width" value="18"/>
- <distance name="button_height" value="20"/>
- <distance name="title_vertical_pad" value="11"/>
- <border name="title_border" left="2" right="2" top="0" bottom="0"/>
- <border name="button_border" left="0" right="0" top="1" bottom="0"/>
-</frame_geometry>
+ <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="0"/>
+ <border name="title_border" left="0" right="0" top="0" bottom="0"/>
+ <border name="button_border" left="0" right="0" top="0" bottom="0"/>
+ <distance name="bottom_height" value="0" />
+</frame_geometry>
<frame_geometry name="border" has_title="false">
<distance name="left_width" value="3"/>
@RushOnline
Copy link
Author

curl -L https://gist.github.com/RushOnline/0f520c6202fb10cc8c43/raw/4c6b1e70f52cee0c1bb2184188541ef4bc1d4a02/no-max-title.diff | (cd /usr/share/themes/Ambiance; patch -p1)

To apply press Alt+F2, r, ENTER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment