Gnome: Remove the titlebar when the window is maximized

Edit of GNOME 3's Adwaita Metacity theme to remove the titlebar when the window is maximized.


sudo gedit /usr/share/themes/Adwaita-X-dark/metacity-1/metacity-theme-3.xml

and edit the file manually according this patch:

diff --git a/metacity-1/metacity-theme-3.xml b/metacity-1/metacity-theme-3.xml
index 0e285a9..52d8c54 100644
--- a/metacity-1/metacity-theme-3.xml
+++ b/metacity-1/metacity-theme-3.xml
@@ -46,17 +46,14 @@
<distance name="right_titlebar_edge" value="1"/>
-<frame_geometry name="max" title_scale="medium" parent="normal" 
rounded_top_left="false" rounded_top_right="false">
+<frame_geometry name="max" has_title="false" parent="normal" 
rounded_top_left="false" rounded_top_right="false">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
- <distance name="title_vertical_pad" value="8"/>
- <border name="title_border" left="10" right="10" top="1" bottom="2"/>
- <border name="button_border" left="0" right="0" top="0" bottom="2"/>
+ <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" />
For other theme, just add has_title="false" and set all values to "0" for example left="0"


Popular posts from this blog

Ports to allow for whatsapp call

Setting open office u label tom & jerry

Tips Jika Mobil Anda Habis Bensin LOL!