April 25, 2013, 5:02 PM — Here's how you can move the minimize, maximize and close buttons to the right in Ubuntu 13.04.
1. Open a terminal window.
2. Type in the following command then hit Enter.
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
For more, see the original article at the link below.