For ubuntu 12.04; There is a tool called ubuntu tweak, that does this.
To install ubuntu tweak in 12.04:
In terminal paste/type
Code:
sudo add-apt-repository ppa:tualatrix/ppa
Followed by
Code:
sudo apt-get update
And finally
Code:
sudo apt-get install ubuntu-tweak
For ubuntu 12.10 you can use this command to switch the buttons:
In terminal type:
Code:
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
A program called dconf-editor will achieve this in 12.10 to install it open the software centre and search dconf. Then select dconf Editor > install it.
(I added this for the 12.10 users who may come across this)
Bookmarks