I'm used to the close button in the upper right corner as in MS Windows. How to put it there?

3 Answers 3


Just paste the following in your terminal,

gconftool-2 --set "/apps/metacity/general/button_layout" --type string ":minimize,maximize,close"

Now you can see that your buttons are placed in the right side.

To revert:

gconftool-2 --set "/apps/metacity/general/button_layout" --type string "minimize,maximize,close:"
  • I corrected the quotes but you need to approve it
    – Jader Dias
    Apr 23, 2011 at 14:26
  • Is it working with Unity when app window is maximized and window buttons integrate to top panel? (I'm not using 11.04 as waiting for its final release, but curious to know if it works.)
    – Kushal
    Apr 23, 2011 at 14:28
  • COOL! Can you tell how to revert the changes? :D
    – bakytn
    Aug 26, 2011 at 2:31

If you are less comfortable with then command line, then this is also a feature present in Ubuntu Tweak. This application helps you "tweak" many things on your Ubuntu installation, and I find it very useful (and very well maintained!).


Or you just install gconf-editor on your Ubuntu, then open it and look for apps >> metacity >> general >> button_layout

change the value to:


Which means "fill with blank space, minimize, maximize, close", making the buttons to be shown at right.

  • For Version 11.10 (Oneiric Ocelot) this is a necessary step since gconf-editor is not installed by default. Accessing this utility directly also provides an answer to the question of rollback. I believe that the original setting is "close,maximize,minimize:"
    – CentaurusA
    Nov 24, 2011 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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