Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers

up vote 12 down vote accepted

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:"
share|improve this answer
    
I corrected the quotes but you need to approve it –  Jader Dias Apr 23 '11 at 14:26
    
Yeah thank you :) –  karthick87 Apr 23 '11 at 14:27
    
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.) –  Kush Apr 23 '11 at 14:28
    
COOL! Can you tell how to revert the changes? :D –  bakytn Aug 26 '11 at 2:31
add comment

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!).

share|improve this answer
add comment

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

change the value to:

":minimize,maximize,close"

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

share|improve this answer
    
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 '11 at 17:49
add comment

Your Answer

 
discard

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.