21

Are there any Keyboard Shortcuts for maximizing, minimizing and resizing the current window?

I am on Ubuntu 13.04, Gnome-latest version.

7 Answers 7

16

Try that:

Alt + F9 Minimize current window.

Alt + F10 Maximize the current window.

If you prefer to create custom shortcuts see this article.

Edit:

Go to: Applications > System Tools > System Settings > Keyboards > Shortcuts. Choose the Navigation option, then just add. Or:

enter image description here

enter image description here

3
  • 2
    Alt+F9/F10 doesn't work for me, but thanks for the link. Add the information about seeing the set shortcuts and I will accept the answer. :-) For example I have set CTRL+Super+UP/DOWN Jun 14, 2013 at 14:06
  • Added information. :-)
    – stderr
    Jun 14, 2013 at 14:41
  • Didn't work for me either, nor was there an option explicitly for "minimize", but Super (aka "Windows") + H "hides" one window, which seems to be the same thing. Thanks for the suggestion to look in keyboards -- still gets the job done 10 years out.
    – ruffin
    Sep 18, 2023 at 14:31
47

In Ubuntu 14 work for me

Ctrl + Super + Up to maximize.

Ctrl + Super + Down to minimize.


Super aka Windows Key

2
  • 6
    Same for Ubuntu 16
    – Wietse
    Feb 27, 2017 at 10:19
  • 2
    To organize the window left or right, use Ctrl + Super + Left/Right. May 19, 2017 at 5:00
2

In Ubuntu 20.04 and above:

Keystrokes Command
Super+  or  Alt+F10 maximize the current window (if not maximized)
unmaximize the current window (if maximized) * see note
Super+  or  Alt+F9 minimize the current window

* If a window is maximized, the same keyboard shortcut used to maximize a window will instead restore the window to its original unmaximized size.

Ubuntu 20.04:  Maximize and unmaximize a window

1
  • 1
    In Ubuntu 22 there is not such option in Settings menu, Keyboard tab, while Hide window is given by Super + H Could you provide a source for the minimise keystroke mentioned? Jul 19, 2023 at 6:40
2

I agree with the comment by https://superuser.com/a/1776234/1794113, it worked for me.

The commands SUPER(WinKey) + D and Ctrl + Alt + D are used to minimize or maximize windows previously displayed ("show Desktop"). You can try that out with several windows maximized.

The command SUPER + H is used to minimize a single window ("hide window").

If you want to hide the current displayed content in a monitor, you can use SUPER + PgDown or SUPER + PgUp to bring it back up. As far as I know, this only works in the main display.

Unfortunately, I haven't been able to find a keyboard shortcut to maximize all windows. That would be very useful. The most approximate solution for this would be maybe using SUPER + H and then Alt + TAB or SUPER + TAB to maximize the latest window.

Additional: This command may be useful, too: Shift + SUPER + sideArrow. It will move an opened window into another monitor.

2
  • I noted that the key combinations Super+PgUp and Super+PgDown are documented by Ubuntu as switching to the next workspace (left or right) whereas your answer as well as alex-fedotov's answer describe the key combination more akin to hiding a window. Is the disconnect tied to whether a user only has 1 workspace or is it something else?
    – Blindspots
    Apr 28, 2023 at 18:58
  • 1
    Thanks for the suggestions! With respect to Super+PgUp and Super+PgDown, it's actually like that but at the same time it looks like if it was hiding the content. In the case that there are two monitors connected to the PC, only the main monitor workspace is hidden and the other one remains the same. At least that's what works for me.
    – Krizerator
    May 3, 2023 at 5:56
2

Under Ubunutu 22.04,

In Settings > Keyboard > Keyboard Shortcuts > Windows

Super + Up : Maximize window

Super + H : Hide window

Then Hide window stands for minimize here.

1
  • 1
    Finally, an answer that fully works on Ubuntu 22.04. (Alt+F10 works for me, too, but not Alt+F9.)
    – Melebius
    Nov 21, 2023 at 9:50
1

I think you looking for this SUPER + H.

The similar one is SUPER + D

Good luck!

2
  • 1
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Mar 29, 2023 at 8:44
  • What do you mean by similar? Please edit your answer to explain what these keyboard shortcuts do actually.
    – Melebius
    Nov 20, 2023 at 9:35
-1

Addition: I just discovered that ...

on Ubuntu 22.04 (Jammy Jellyfish)

...there still is an option to shrink the window of a running application so that it would only stay marked (with a dot) on the dock in the same way that it would when you clicked "_" on the upper-right corner of the window in the past. The shortcut is:

Win + PgDown -> Application window shrinks to an icon in the dock

Win + PgUp or click on this icon in the dock -> Application window expands

4
  • Does not work on Ubuntu 22.04, however Super + H minimise window, or "hide" the window. Jul 19, 2023 at 6:38
  • Your key is named differently than my key, that's what 'doesn't work'. Jul 20, 2023 at 13:15
  • 1
    please provide a ref or a screen of the shortcut Jul 20, 2023 at 14:31
  • This does not work for me on Ubuntu 22.04. Your shortcuts switch me to the previous or next virtual desktop.
    – Melebius
    Nov 20, 2023 at 9:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .