17.04.2010

New Ubuntu themes and button positions

Ubuntu 10.04 looks neat. That is, except for the position of the window control buttons (minimize, maximize, close). Probably they thought something like "Hey, if Apple does it this way, it must be good!" and placed the buttons on the left side of the window title bar.
This sucks if You don't have a Mac and aren't used to it.
Fortunately, there's a way to "simply" change the position. It involves (once again) GConf.
Either use gconftool or the gconf-editor to access the key:
Code:
/apps/metacity/general/button_layout
If You're using gconftool - the key is of type string.
You can set the key to order the buttons in almost any way you want. Just specify the order in which the items should appear in the window title bar:

menu - a button for the window menu (the menu You get when You right-click the title bar)
: (colon) - the window title (will be placed at the end if omitted)
minimize, maximize, close - the respective button

The default is "close,minimize,maximize:" and the default in earlier distributions was "menu:minimize,maximize,close".
In case You just want back the good old layout, here's the command line:
Code:
$ gconftool -t string -s /apps/metacity/general/button_layout "menu:minimize,maximize,close"
That's it! You're done!

Keine Kommentare:

Kommentar veröffentlichen