Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I open my computer, I need to manually unset the value of button_layout in gconf-editor in /apps/metacity/general to make to the close, minimize and maximize buttons on the right side of the window, but every time I restart my computer it changes back to the left side.

I've tried to right-click the setting and choose "set as default" - but this doesn't work.

How can I make this be permanent?

share|improve this question
up vote 3 down vote accepted

Open Startup Applications,

enter image description here

Press Add to add a new startup program, name it, and write into the command box

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

press Save and it should work as this command will be executed every time you log in.

share|improve this answer
Thanks, it works :) – Kristal Jun 21 '11 at 0:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.