In Ubuntu 10.4 Lucid Lynx the default window button is located in the left side. Now we will show you how change that button from left to right without installing or downloading any scripts.
Here is the trick.
- Press alt+f2.
- Type
gconf-editor. - Select apps/metacity/general
- Look for button_layout and change the value in to this.
menu:minimize,maximize,close
The button will change right then and then from left to right. if it wont change try logging out.
$ sudo /etc/init.d/gdm restart
note: before colon (:) means the buttons are on left side and after colon (:) means the buttons are on the right side.





