by notthatguy » July 8th, 2012, 1:24 am
run dconf-editor
navigate to org > gnome > shell > overrides
select 'button layout' in the right pane
click on :close and change it to close:
press enter and you should see changes take effect
The colon position determines which side the buttons are on.
if desired, this is also a good opportunity to add minimize and maximize buttons
:minimize, maximize,close