How do I add minimize / maximize buttons to GNOME shell windows?

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.


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: 

In current versions of Gnome, you may need to use this instead:

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

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'

In Ubuntu 17.10 (and Debian 9 Stretch) with gnome 3.26.1 command is:

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

(thanks to Ohto Nordberg's reply).


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.