Ubuntu keeps window buttons (the minimize, maximize, and close buttons) in the left corner of window’s tile bar. For some users, they expect the window control buttons to be moved to the right, and this simple tutorial is going to show you how to do it in Ubuntu 12.10 and 12.04.
For Ubuntu 12.10
For ubuntu 12.10, gconf-editor won’t work any more. Please use this command instead to move window buttons to right.
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
Or, install Dconf Editor using Ubuntu Software Center. Open dconf-editor, navigate to org/gnome/desktop/wm/preferences, change the value of button layout to :minimize,maximize,close
For Ubuntu 12.04:
If you have already installed Ubuntu configuration tool Ubuntu-Tweak, you can easily use it to switch window buttons to right under Tweaks -> Window.
Or you can use gconf-editor, which not only works on Ubuntu, it also works on any OS which is using GNOME. For Ubuntu, press Ctrl+Alt+T, copy and paste this command into terminal to install gconf-editor:
sudo apt-get install gconf-editor
Then launch it within terminal command:
Navigate to apps -> metacity -> general. Double click on “button_layout” key and change its value from close,minimize,maximize: to :minimize,maximize,close. It takes effect immediately.
That’s it, enjoy!