Moving the minimize, maximize, close buttons

Metacity, Ubuntu's window manager, comes with the buttons to close, minimize and maximize the window over on the left, OSX-style by default (since Ubuntu version 10.04). Many users convert from Windows to Ubuntu, and prefer the buttons over on the right, Windows-style. Changing the location of the buttons is actually very simple. To move them back to the right, simply open Terminal and enter:
gconftool-2 --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close
To move them over to the left, enter:
gconftool-2 --set /apps/metacity/general/button_layout --type string close,minimize,maximize
The 10.04.1 version of the script contained this code, but since the script is run as root the command does not execute properly and did nothing.

No comments: