Search This Blog

Sunday, April 4, 2010

Solution : Ubuntu 10.04 + minimize, maximize and close button to right

One of the more controversial changes in the Ubuntu 10.04 is the Mac OS-inspired change to have window buttons on the left side. We’ll show you how to move the buttons back to the right.
Before
While the change may or may not persist through to the April 29 release of Ubuntu 10.04, in the beta version the maximize, minimize, and close buttons appear in the top left of a window.
sshot-1
How to move the window buttons
The window button locations are dictated by a configuration file. We’ll use the graphical program gconf-editor to change this configuration file.
Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.
sshot-2
The Configuration Editor should pop up.
sshot-3
The key that we want to edit is in apps/metacity/general.
Click on the + button next to the “apps” folder, then beside “metacity” in the list of folders expanded for apps, and then click on the “general” folder.
sshot-4
The button layout can be changed by changing the “button_layout” key. Double-click button_layout to edit it.
Change the text in the Value text field to:
menu:maximize,minimize,close
sshot-5
Click OK and the change will occur immediately, changing the location of the window buttons in the Configuration Editor.
sshot-6
Note that this ordering of the window buttons is slightly different than the typical order; in previous versions of Ubuntu and in Windows, the minimize button is to the left of the maximize button.
You can change the button_layout string to reflect that ordering, but using the default Ubuntu 10.04 theme, it looks a bit strange.
sshot-7
If you plan to change the theme, or even just the graphics used for the window buttons, then this ordering may be more natural to you.
After
After this change, all of your windows will have the maximize, minimize, and close buttons on the right.
sshot-8
What do you think of Ubuntu 10.04’s visual change?