39

This question already has an answer here:

In 10.10 that I was using before 12.04, you could use Alt+F9 to minimize a window to the task bar.

In 12.04 Meta+Ctrl+/ maximizes and unmaximizes a window.
If you have a numeric keypad you can use Ctrl+Alt+0 to minimize to launcher.

On my netbook I don't have a numeric keypad and the normal numbers do not work with the above shortcut. How can I minimize windows with a keyboard shortcut?

marked as duplicate by jokerdino Sep 13 '16 at 10:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • ALT+F9 works for me in MATE. But I wish they added shortcut labels to the right click menu on the window title. – neverMind9 Nov 6 '18 at 21:15
31

Launch keyboard:
enter image description here
Shortcuts, windows, minimize window, click at the right of the bar as indicated
enter image description here
It will toggle to new accelerator. Just press CTL + ALT + 0 not the numpad zero.

Do note that the numpad zero shortcut will no longer work after you do this. Shortcuts now make a distinction between numpad numbers and across the top numbers, although it isn't noted as 'numpad0' in the keyboard wizard.

  • I use a German keyboard and this deafult shortcut is the same, but not working. – king_julien Jun 29 '14 at 17:06
  • 1
    Does not work on Ubuntu 18.10 in gnome shell: there is no "Minimize window" option. – Lexible Jan 24 at 18:44
36

I prefer the standard way of doing it instead of fiddling around with adding customized hot keys:

  • Alt+Space then pressing N to Minimize
  • Alt+Space then pressing X to Maximize/Unmaximize

This also happens to be the default in Microsoft Windows.

Unfortunately it's different for GNOME Shell. There you press:

  • 1
    alt-space, x to maximize – RobotHumans Apr 18 '12 at 23:06
  • There is a bug report on gnome-shell (v3.14+, previously i twas handled by gtk) about this problem. Instead we have Super+(Up/Down) to Maximize/Unmaximize. – Pablo Bianchi May 14 '17 at 18:06
  • Super+H can minimize the window on GNOME. – ICE Apr 14 at 17:15
  • Super+<Number> brings up the window in the dash or minimizes it if it is already open. This is enough if you just want to minimize your currently open window. – Nash Jun 11 at 13:40
9

If your keyboard has 'windows' key, also known as 'Super' in Ubuntu, you can minimize, maximize, left-restore or right-restore using the key combinations:

  • Ctrl + Super + Up arrow = Maximize or Restore (toggles)
  • Ctrl + Super + Down arrow = Restore then Minimize
  • Ctrl + Super + Left arrow = Restore to left
  • Ctrl + Super + Right arrow = Restore to right
5

If you wish to continue to use Alt+F9 then you can. For unity* just set to it in system settings > keyboard > shortcuts > windows as seen in the screenshot in aking1012's answer

For gnome-shell you need to set in gsettings, either graphically in dconf-editor as in screen or thru gsettings

gsettings set org.gnome.desktop.wm.keybindings minimize "['<Alt>F9']"

enter image description here

  • FWIW, in gnome-shell 3.4.1 the proper gsettings keybinding is "['<Alt>F9']" (without the + sign). – Dan O Aug 11 '12 at 14:44
  • This works perfectly in Ubuntu 18.10. – Lexible Jan 24 at 20:58
  • ...and seems the only way to achieve this in ubuntu 19... thanks – Edoardo Jun 14 at 10:17

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