This is really just a note to self.
I recently needed to move the window buttons back to the left and I couldn't remember how to do it.
I think it was the third of these commands that did the trick for gnome classic (no effects) - i.e. metacity:
And for cinnamon:
gsettings set org.gnome.shell.overrides button-layout 'close,minimize,maximize:'
gconftool --type string --set /desktop/gnome/shell/windows/button_layout "close,minimize,maximize:"
gsettings set org.gnome.desktop.wm.preferences button-layout close,minimize,maximize:
gsettings set org.cinnamon.overrides button-layout 'close,minimize,maximize:'