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