Ubuntu 12.04 Window Border Size Increase

I am constantly installing Ubuntu and need this information, so I decided to post it here.

To change border widths, open up the theme’s Metacity XML file.  For example, Ambiance’s theme is located in “/usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml”.  To figure out what theme you are running, use the following:

gconftool-2 -g /desktop/gnome/interface/gtk_theme

Pulling it together:

theme=`gconftool-2 -g /desktop/gnome/interface/gtk_theme`
sudo nano "/usr/share/themes/$theme/metacity-1/metacity-theme-1.xml"

Then stanza in question should be apparent:

<distance name="left_width" value="5"/>
<distance name="right_width" value="5"/>
<distance name="bottom_height" value="5"/>

 

Ubuntu-window-screenshoot

From:  https://bugs.launchpad.net/metacity/+bug/160311/comments/11