6

I am using KDE Plasma on Kubuntu 17.10 and I am searching for a way to make a window fit the height of the screen, preserving its current width and horizontal position.

For example, on Windows, one can drag the top edge of the window to the top of the screen, while resizing, and the window will be resized this way. Double clicking on the top (or bottom) edge also achieves this.

I have a very large monitor and the ability to resize a Window in this way is rather vital. Otherwise, the only alternative is snapping to the left or right half of the screen.

3 Answers 3

9

This keyboard route works for me on Kubuntu 16.04 (and on Kubuntu 18.04 in a virtual machine):

System Settings > Shortcuts > Global Shortcuts > KWin > Maximize Window Vertically

Here, I've assigned Ctrl+Meta+V as the keyboard shortcut (where Meta is the Super or Windows key.

Maximize Window Vertically

This causes the active window, the one in focus, to be maximized vertically, keeping the horizontal dimension and position on the screen unchanged. You can, of course, choose your own shortcut combination.

2
  • On Uubuntu 18.04, I found this setting under System Settings > Shortcuts > Global Shortcuts > System Settings Module. Also, the search box does not search in all components, so, just search manually.
    – Jesus H
    Jul 7, 2019 at 15:00
  • Ubuntu 20.04.3 GNOME 3.36.8 Settings > Keyboard Shortcuts > Maximize window vertically Nov 6, 2021 at 10:42
7

(Manjaro, Plasma 5.14) You may middle-click the maximize button in order to maximize vertically or right-click it in order to maximize horizontally. These are defined in System Settings -> Window Management -> Window Behavior -> Titlebar Actions -> Maximize Button Actions.

1
  • This is a general feature of KDE at least since KDE 3, IIRC.
    – bjhend
    Mar 11, 2021 at 10:21
1

The global shortcut for making windows full screen, but not in focus mode, is Meta + PgUp, but you can reassign the Maximize Window hotkey.

You can see Minimize Windows is still in its default value at Meta + PgDown

Global shortcuts KDE plasma KWin

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.