In Ubuntu 10.4 the minimize, maximize and close buttons for each window are on the left. Coming from a Windows background this just does not feel right and so I immediately wanted to move these buttons back to the right. Here is how to do it:
Click Applications, then Accessories and then Terminal.
In the terminal type gconf-editor and then press Enter. This will open the Configuration Editor application.
In the left pane click apps, then metacity and then general.
In the right pane right-click the button_layout key and in the context menu click Edit Key. Change the Value to the following and then click OK:
Exit the Configuration Editor – now all of your buttons should be back in the right place!