NOTE: This is for 12.10, previous versions not tested.

Moving from Windows to Ubuntu? Well a nice decision! But you will surely get confused in the beginning while using Ubuntu because of its contrasting feature - the windows buttons (minimize, maximize and close) are to the left of the window.

Its easy to set them to the right of the window.

1. Open Terminal App from Dash Home.

2. Run the following command:
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
Enter the password if asked for, and you're done. Have fun!