How-To Geek
Put Close/Maximize/Minimize Buttons on the Left in Ubuntu
If you are a new Ubuntu user coming from a Mac background, you might be disoriented by the placement of the minimize/maximize/close box on Ubuntu, which mimics Windows by default.
This setting is an easy one to change, thankfully, and combined with a nice OS X theme can really have a nice effect.
To change this setting, use Alt+F2 to bring up the Run Application dialog, and type in gconf-editor to launch the Gnome Configuration Editor.

Once in the editor, find the following key:
apps \ metacity \ general
On the right hand side of the screen you should see an option called button_layout.


This option takes a string value separated by commas, as well as a colon that separates which side of the window the buttons will be on. To mimic the OS X setting, enter this string:
close,maximize,minimize:menu
In this example, the close/maximize/minimize buttons are on the left, and the menu button is on the right. You can remove an item from this list if you’d like. For example, I don’t really use the menu button so I usually just remove it.
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (14)
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 06/12/07




Wow !! What gtk theme are using ? This is one of a hell “à la Mac OS X” gtk theme !! Would be good if I can get it……
And for us Kubuntu users?!
For me doesn’t work. Ubuntu 7.04 with default Compiz
Sasha: This only works if you’re using Metacity as your window manager. You don’t. You use Compiz.
On Kubuntu:
Go to K>System Settings
Go to Appearance
Go to Window Decorations
Go to the Buttons tab
Drag and drop as you please!
thanks
Thanks for this. I find it much more convienent to have it on the left, it saves alot of mouse travel, especially using a track pad.
Using Ubuntu 9.04 on a pre-installed netbook Dell Latitude 2100.
For Juliana, about sasha’s question:
Are you sure Juliana? Since I know, even if you use Compiz, You are using Metacity Window Decorator, and It is what we are talking about here. Only if you change, for example, to Emerald, you were playing with another Window Decorator different from Metacity.
Maybe I am wrong.
Regards!
Thanks for a good “How-To”… I was able to reverse it and FIX 10.04′s default button layout that went against everything I’ve learned since the days of 3.1 and before.
The themes i downloaded for Ubuntu somehow move the buttons to the right side (a bug?).
With your tutorial I am able to move them back to the left.
Thank you.
Easily done. Thanks.
Thanks for this. I just installed Ubuntu 10, and this helped me move the buttons back to the right. :)
Or simply do:
gconftool-2 -s /apps/metacity/general/button_layout –type=string “menu:minimize,maximize,close”
Also, if you’re using oneiric with Gnome3, and not metacity:
alt+F2 -> gconf-editor -> scroll down to desktop -> gnome -> shell -> windows
then edit button layout as follows:
“close,maximize,minimize:”
Then it looks exactly the same as unity