Window Buttons in Ubuntu 10.04

With Ubuntu 10.04 alias “Lucid Lynx” the new “Ambiance”-theme was introduced.
Furthermore, the designers of Ubuntu decided to change the location of the window buttons from the right to the left, which in my opinion is really unusual.
Fortunately, Linux is very customizable and this behavior can be changed in order to move the buttons back to their previous location on the right.

Therefore, you’d have to change the attribute
/apps/metacity/general/button_layout
to the value “menu:minimize,maximize,close”, which can be done with Ubuntu’s configuration editor (GConf). This editor can be started by invoking the gconf-editor command on the console.
Alternatively, you could use the gconftool-2 utility to change the setting directly on the command line:
$ gconftool -s /apps/metacity/general/button_layout -t string menu:minimize,maximize,close