How to change the location of close button from left side to right side?

1 05 2010

In Ubuntu 10.04, the close button is on the LEFT side! How do you change that? We’re much more used to the button on the right side. I just upgraded from 9.10.

To move all the buttons back to the right hand side, run the following in a terminal:

gconftool-2 –set “/apps/metacity/general/button_layout” –type string “menu:minimize,maximize,close”

To it via GUI,

Gnome provides the means to your end with gconf-editor.

Use ALT-F2 to bring up the Run Application window, enter gconf-editor and click Run. Browse to apps > metacity > general and find the button_layout field.

You can use any combination of six values: : (colon), menu, minimize, maximize, spacer, and close. Button names need to be separated with commas. The colon denotes the separation between the left and right corners. Following are some examples.

The default Lucid layout.
maximize,minimize,close:

The previous layout that we’ve been familiar with looks broken as the minimize button is designed to be sandwiched between the maximize and close buttons.
menu:minimize,maximize,close

Here’s the previous look with Lucid’s button order.
menu:maximize,minimize,close

A spacer can be added. Although it too slightly breaks the design, it may still be helpful to keep the close button separated slightly from the others. The menu button has been removed in the following example.
:maximize,minimize,spacer,close

One alternate layout is to keep the minimize and maximize buttons to the left and pushing the close button to the right.
maximize,minimize:close

With gconf-editor, you can find whatever combination you’re most comfortable with. You can also use the command line tool gconftool-2 to set the value of the layout quickly. To get the pre-Lucid layout:

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

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.