23

F11 makes a window go full screen. Is there a shortcut that minimizes a window? I am using Arch Linux with Gnome Shell.

2
  • It depends on your distribution. In Ubuntu there is preset keyboard short-cut, which I can't remember, because I changed it to Alt-F9, which is what it used to be, and which ties in with the other window controls. (I think it was something like Ctl-Sh-0.)
    – AFH
    Oct 1 '16 at 13:59
  • 1
    What distribution and what window manager?
    – DavidPostill
    Oct 1 '16 at 14:57
56

Gnome Shell actually supports this. Super+H is the default key. If you want to change the key go to:

Settings -> Keyboard -> Windows -> Hide Window

Since this answer has gained some traction it is good to also know that:

  1. This works on MacOS as well.
  2. This does not work on Windows, however, you can achieve the same effect by using a tool like AutoHotkey.
8
  • This one works like a charm in Ubuntu 17.10 (Gnome) Nov 1 '17 at 7:57
  • 1
    No problems in Fedora 28 either. Never thought to search for "Hide" rather than minimize though. Oct 31 '18 at 12:14
  • works on Debian 9
    – Vass
    Aug 1 '19 at 2:49
  • 1
    too bad the rest of the workd talks about minimize a window..... I had to look very hard to find this..... Thanks!! maybe because its a oneway without a toggle?
    – U.V.
    Oct 22 '20 at 19:46
  • 1
    For the record, the same key also works on macOS.
    – Aventinus
    Apr 1 at 8:21
5

I know the OP didn't ask for it but for the sake of completeness, Super+D minimizes all windows (think of it as "show Desktop"). Ubuntu 19.04, Gnome 3.32.1.

4
  • This also works on Windows 10. Amazing, I wasn't aware of this shortcut. Thank you.
    – Aventinus
    Jan 6 '20 at 10:55
  • Super + D also restores all windows if hit again. Mar 24 at 16:47
  • Interestingly, this does not seem to work for me on RHEL 8.3 (Gnome 3.28.3). Super + H does "hide" the window, however. May 7 at 13:22
  • Does not work in GNOME on Debian 11. Bleh. Sep 17 at 20:13
4

On the GNOME desktop environment, you can use CTRL-ALT-D to minimise all and give focus to the desktop. You can also use ALT-F9 to minimise the current window. I think these are the same for Ubuntu/Unity.

3
  • 3
    I'm on Gnome 3.24.3 on Fedora 26, CTRL-ALT-D does nothing. Oct 25 '17 at 17:59
  • ALT-F9 was exactly what I wanted (minimize current window) (on Ubuntu 16.04 with MATE). Thanks!
    – Zertrin
    Aug 5 '19 at 7:32
  • none of these work on openSUSE Tumbleweed on a Visual Studio Code window... Dec 9 '20 at 22:46
4

Using gsettings:

$ gsettings get org.gnome.desktop.wm.keybindings minimize  
['<Super>h']

Set Super+Shift+H):

$ gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super><Shift>h']"
0

works in gnome
super+down(↓)
For minimizing the window size of an application
super+up(↑)
for maximizing the window size of an application
super+right(→)
for throughing application window to right side of monitor screen
super+left(←)
same as above

Your Answer

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

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