Ubuntu – How to bring back minimize and maximize buttons in Gnome 3

customizationgnomewindowwindow-control

I have recently installed Ubuntu Gnome which has the latest version of Gnome 3 running on it, and I have noticed that on windows there are no minimize buttons, and no maximize buttons, although I can see that you do get the options if you do a right-click. I have already read this question, and its answers, and have found that still none of them answer my question.

So my question is, as made clear in the title, how can I bring back the minimize and maximize buttons? Is this a bug? Or have Gnome decided not to have them?


OS Information:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:    15.04
Codename:   vivid

Best Answer

The command line way

  • add the values at the left side of : for buttons on the left side

    close,minimize,maximize:

    gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize:"
    

    enter image description here

  • add the values at the right side of : for buttons on the right side

    :minimize,maximize,close

    gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
    

    enter image description here

  • or mix them

    close:minimize,maximize

    gsettings set org.gnome.desktop.wm.preferences button-layout "close:minimize,maximize"
    

    enter image description here


The GUI way

Start the gnome-tweak-tool, open the Windows tab and switch the buttons for Titlebar Buttons in the right panel

enter image description here

enter image description here