Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Just installed Ubuntu 12.04, then I did

sudo apt-get install gnome-shell

and windows have only a close button, how can I enable minimize / maximize? The old gconf-editor doesn't seem to work cause it has the three buttons in the config.

share|improve this question
add comment

9 Answers

up vote 30 down vote accepted

You need gnome tweak tool.

Click the Download button to install with Ubuntu Software Center:

Install via the software center


Or you can install in Terminal:

sudo apt-get update; sudo apt-get install gnome-tweak-tool

Then open Advanced Settings to change the minimize and maximize buttons.

share|improve this answer
    
Hmmm... could not find the specific option, I had to use ubuntu-tweak. Thanks anyway. –  Rmano Apr 28 '12 at 22:27
3  
@Rmano Shell > Arrangement of buttons on the titlebar [Close Only is the default setting] –  Chris Granger Apr 29 '12 at 4:05
add comment

As an alternative to the buttons, you can still minimize/maximize windows by right-clicking on their titlebar and selecting the appropriate entry from the menu.

share|improve this answer
add comment

Install ubuntu tweak.Open ubuntu tweak and go to Tweaks>Window and set "off" in Close button only . But I didn't like this type of solution though I'm sharing this solution.

share|improve this answer
add comment

Install dconf-editor:

sudo apt-get install dconf-tools
dconf-editor

Then navigate to:

org.gnome.shell.overrides >> button-layout

and set value to:

close,minimize,maximize: **OR** :maximize, minimize,close

Note that you might also perform this from console:

gsettings set org.gnome.shell.overrides button-layout close,minimize,maximize: 
share|improve this answer
4  
Well done vanlong. Just to add this can be done from terminal too: gsettings set org.gnome.shell.overrides button-layout close,minimize,maximize: –  Todd Partridge 'Gen2ly' May 13 '12 at 0:33
    
thanks Todd, things worked quite good after using the tweak you mentioned. :) –  Ankit Aug 27 '12 at 2:50
    
the menu button on the window buttons is also available. I have my layout as close,minimize,maximize:menu –  Peter Oct 14 '13 at 12:36
    
How do i disable it in terminal? –  Binoy Babu Nov 26 '13 at 16:05
add comment

In Gnome tweak tool --> click on Shell in left column and then in right column for Arrangement of buttons in title bar select "all", instead of"close only".

share|improve this answer
add comment

I found this page when I was looking for an answer to this question. Thought some people would appreciate this information.

Here is the terminal command for those that are two lazy to open a link. Just wanted to give credit to the original contributor of this information.

gconftool -s /apps/metacity/general/button_layout -t string menu:minimize,maximize,close 
share|improve this answer
2  
Re: links, people may not want to open links because they don't know what they land on. For askubuntu/stackoverflow and others, links without info are bad because the link may break, and the answer isn't self-contained. –  belacqua Jul 6 '12 at 17:00
add comment

The dconf-tool editor solutions described by vanlong441 and by Todd Partridge worked for me. The only thing to add is you can change the side of the buttons on the window by moving the : in the string, and change the order of the buttons by moving their names around. (Useful for personal preference and also pranking).

share|improve this answer
1  
As you've posted this as a separate answer rather than a suggested edit (or comment), you may want to expand it further, giving explicit examples of how different strings (with the : in different places) produce different behavior. –  Eliah Kagan Aug 17 '12 at 23:14
add comment

I had the same problem where my Ubuntu 12.04 windows only showed the close button. I realize that it is possible to right click on the menu bar to get the missing minimize and maximize functionality but I wanted the buttons back.

I was going to install Ubuntu Tweak but found the "Advanced Settings" application. I just went to the "Shell" tab and set "Arrangement of buttons on the titlebar" from "Close Only" to "All". This restored the missing buttons onto my windows.

I hope this alternate solution helps people with the same problem.

share|improve this answer
add comment

This is very simple guys, just type the following command in the terminal, it worked for me:

gsettings set  org.gnome.shell.overrides button-layout ':minimize,maximize,close'
share|improve this answer
1  
I feel this option is better than tweak-tool. It works for me. Thanks –  Naai Sekar Jul 7 '13 at 7:42
add comment

Your Answer

 
discard

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.