Ubuntu 11.04, how can i change the Windows close/minimize/maximize buttons on top left corner to somewhere else like: bottom left corner, bottom right corner? If it's not possible, then I would like to put top right corner. Example as following window:

+---------------- + - [ ]--+
|                          |
|  Hello world             |
|     Ubuntu 11.04         |
|   Hero is here           |
|                          |

I have tried command lines from these questions:

But none was working with Ubuntu 11.04, the only one worked was (Ubuntu Tweak), but in that case I do not have the terminal/command line to make my own custom script for future use.

  • Ubuntu 11.04, those did not worked. Ubuntu Tweak only worked but no command lines i am finding yet. – user25165 Sep 7 '11 at 16:33

Depending on your window decorator I am sure you can, in example, using emerald to create your own theme which will allow you to define where do you wish to place these controls.

Anyway, Ubuntu Tweak will allow you to set the place on where these controls are displayed on your windows top corners, left or right, and will also allow you to re-arrange the buttons with your preferences.

Take a look at this screenshot: enter image description here This options can be found under "Window Manager Settings" in Ubuntu Tweak

I hope this help you.

Good luck!

  • This worked really thanks. But i want to do it with terminal to have the command lines. Possible to see the code which telling to send right or loeft? – user25165 Sep 7 '11 at 16:14
  • You don't mention on your original question that you wish a command line solution, which would be useful in order to they don't mark your question as closed because of "exact duplicate", which in my humble point of view, is quite different than other questions, they are similar but your case is unique as you expect a command line solution. Just for your consideration. – Geppettvs D'Constanzo Sep 7 '11 at 16:32

I don't know if you could move it to bottom but basically you could change it to right top corner

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

or you can do the same with gui

gconf-editor /apps/metacity

You could avoid the menu option as well.

  • I tried both example, but did not worked to move it at-least on right top corner, i am using Ubuntu 11.04. – user25165 Sep 7 '11 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy