F11 makes a window go full screen. Is there a shortcut that minimizes a window? I am using Arch Linux with Gnome Shell.
- 1,352
- 4
- 17
- 31
-
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 01 '16 at 13:59
-
1What distribution and what window manager? – DavidPostill Oct 01 '16 at 14:57
6 Answers
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:
- This works on MacOS as well.
- This does not work on Windows, however, you can achieve the same effect by using a tool like AutoHotkey.
- 1,352
- 4
- 17
- 31
-
-
1No problems in Fedora 28 either. Never thought to search for "Hide" rather than minimize though. – Steen Schütt Oct 31 '18 at 12:14
-
-
-
2too 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
-
Thank you for this answer! And I do think a PR needs to be made upstream for searching shortcuts for the word "Minimize" as I did that and nothing come up and I had to do a search for "gnome minimize window shortcut" to find this answer that says if I had searched for "Hide" then it would have come up. It should come up for both "Hide" and "Minimize". – Elijah Lynn Oct 18 '21 at 18:09
-
Is there a way to make the window stop losing focus though? I want to minimize with superdown and the maximise again with superup. But the window loses all focus when minimised to the taskbar when using "hide window". It's not as useful like this – Richard Sep 30 '22 at 09:42
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.
- 215
- 2
- 9
-
This also works on Windows 10. Amazing, I wasn't aware of this shortcut. Thank you. – Aventinus Jan 06 '20 at 10:55
-
-
Interestingly, this does not seem to work for me on RHEL 8.3 (Gnome 3.28.3). Super + H does "hide" the window, however. – Jason R Stevens CFA May 07 '21 at 13:22
-
-
Gnome 44.1 doesn't detect the Super + D shortcut, in 'custom shortcuts' the combination doesn't return any conflicts with existing native hotkeys. Fedora 38. – user198350 Jun 14 '23 at 11:08
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']"
- 193
- 1
- 8
-
1thank you!! I'm on popOS and "minimize" isn't in the Keyboard Shortcuts menu at all for some reason; this worked like a charm :) – jyn Feb 10 '23 at 01:10
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.
- 81
- 1
- 5
-
3
-
ALT-F9 was exactly what I wanted (minimize current window) (on Ubuntu 16.04 with MATE). Thanks! – Zertrin Aug 05 '19 at 07:32
-
none of these work on openSUSE Tumbleweed on a Visual Studio Code window... – Eugenio Miró Dec 09 '20 at 22:46
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
- 11
- 1
This wasn't set as a default for my environment, but setting it in Gnome 43.3 went as follows:
- Open Settings.
<Super> type Settings <Enter> - Navigate to Keyboard.
Left pane - Select View and Customize Shortcuts.
Bottom - Use Search to find Hide all normal windows under Navigation.
- Set shortcut as desired. For example, I used Super + D.
- 11
- 1