Change menu buttons from left to right in Ubuntu
One of the most annoying setting is the menu buttons such as minimize, maximize and close buttons are placed on the left side of the menu bar. As many may be aware that this setting can be changed by installing gconf-editor and setting the variable button_layout to ‘menu:minimize,maximize,close’ under ‘apps/metacity/general‘. This command fails to work in certain versions of Ubuntu which are using Unity.
Dconf-Editor
Many of the settings in gconf-editor will become invalid and you will find those settings in dconf-editor. Incase if you don’t have dconf editor installed in your system, enter the following command in Linux Terminal.
sudo apt-get install dconf-tools
- Open dconf editor. (You can enter the command ‘dconf-editor‘ from the Linux terminal or choose dconf Editor from the Applications Menu under System Settings.
- Locate to the following directory path ‘org->gnome->desktop->wm->preferences‘.
- Change the variable ‘button_layout‘ to ‘menu: minimize,maximize,close‘
The change will take effect immediately after altering the value.
Alternatively you can type the following command in Linux terminal to do the same job.
gsettings set org.gnome.desktop.wm.preferences button-layout ‘menu:minimize,maximize,close’




nice and easy way the old method was a pain to do and use to take much more time plus never assured that it will work or not
Just downloaded and installed ubuntu 12 and was looking for this option and found your blog,thanks for showing an easy way to do this thing.
awww this saved a lot of time searching the web thanks bro
Nice article, Very easily explained how to work with Ubuntu thank you