Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A new feature was added recently that adds an invisible border around the windows to grab for resizing (although i thought the new resize grip solved any big issues).

This annoys me because it destroys the usefulness of the grid plugin of compiz.. i'm not sure if the border is part of compiz or gnome, but i'd like to know how to disable it.

i couldn't find any options in ccsm or the window settings in gnome.

See the screenshot to see how much waste is caused. These windows should match up instead of having blank space surrounding all of them.

enter image description here

share|improve this question
is this affecting also taking screenshots of windows, resulting in some pixels of the background around windows? – type May 8 '11 at 11:27
up vote 9 down vote accepted

It's part of the theme.

Look into /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml and change the padding properties to zero (or remove them), e.g:

<frame_style ...>
    <padding left="7" right="7" bottom="7"/>

--- Update ---

There's now also a bug report to follow. The bug has been fixed, if you still see this, I'd report a new bug (unless it's happening with windows that can only be resized in fixed sized steps like gnome-terminal).

share|improve this answer
hey thanks a lot – Ike Jan 30 '11 at 14:44
@Ike: np, if you want to change/disable the window, it's now also part of the theme (right above the padding lines) - except for the color, which still follows the window decorator plugin in Compiz. – htorque Jan 30 '11 at 21:09

Simpler solution: run gtk-window-decorator --replace & in a terminal. Only unity-window-decorator supports this theme option but gtk-window-decorator supports the rest of the metacity theme.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.