Many you might have already seen that the position of the buttons on the window decorated had been left justified in ubuntu 10.04.
Actually it is very easy to change the justification.
1. Press Alt+F2 and type in
gconf-editor
2. Navigate to
app->metacity->general
double click the ”button_layout” option and change it to “memu:maximize,minimize,close“
rather than ”minimize,maximize,close:menu“
This will move the buttons from left to right.