HowTo: Move window buttons back to the right

When you’ve installed Ubuntu 10.04 you might want to have the window controls back to the right side, where you’re used to having them. Use the following simple command:

gconftool-2 --set /apps/metacity/general/button_layout --type string "menu:minimize,maximize,close"