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

One of the most annoying things about Ubuntu is probably the ~3-5-pixel border distance between the buttons on the title bar and the top and right sides of the window.

Is there any way to reduce that to zero?

share|improve this question
Why is it annoying? – user unknown Jul 15 '11 at 5:43
@user unknown: See this (search for "pixel") and this. – Mehrdad Jul 15 '11 at 5:54
@Mehrdad: those articles are an interesting read. I'm guessing you're looking for a theme similar to Clearlooks, with the buttons extended to the top and right edges of their window, in an Ubuntu Classic session with the top panel removed? – Christopher Kyle Horton Jul 15 '11 at 12:31
@Warrioring64: You read my mind! Yes. – Mehrdad Jul 15 '11 at 14:42

Okay, I found part of the solution:

Go open /usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml and modify the right="1" top="2" values in the line saying

<frame_geometry name="normal" ...>
    <border name="button_border" left="1" right="1" top="2" bottom="1"/>

This fixes the button issues.

However, this does NOT work for the title bar frame! If I go to the top of a maximized window's title bar and double-click it, it doesn't toggle the maximization. I need to move down the mouse by a few pixels to do that.

If anyone knows how to fix that part as well, that'd be great! Otherwise this is my best answer so far.

share|improve this answer

There are many window border themes in Ubuntu, some of which nearly don't have a border at all. Try one of these.

share|improve this answer
The New Wave theme is the first one that comes to mind for me. – Christopher Kyle Horton Jul 15 '11 at 12:28
Yeah but they're ugly. :( (And besides, New Wave still has a border on the right side.) Any way to do this with ClearLooks? – Mehrdad Jul 15 '11 at 14:46

The Adwaita theme for GNOME Shell seemed to me like it would be what you're looking for, and after a quick search on I found a GTK 2.x version of it. Note that you will need the Equinox GTK+ theming engine installed for it to look right, but it's easy enough to find in the Ubuntu Software Center.

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.