I would like to maximize windows vertically by double clicking on the horizontal boarder like in Windows. Is there a way to get this behavior in Gnome Shell?
Thanks in Advance
Edit: I forgot to mention that I mean double click.
Like in this Video
I would like to maximize windows vertically by double clicking on the horizontal boarder like in Windows. Is there a way to get this behavior in Gnome Shell?
Thanks in Advance
Edit: I forgot to mention that I mean double click.
Like in this Video
TL;DR There is no way to use the border of a window. You can only use the title bar. Open a terminal an use this command:
gsettings set org.gnome.desktop.wm.preferences action-double-click-titlebar toggle-maximize-vertically
Check the settings with:
gsettings get org.gnome.desktop.wm.preferences action-double-click-titlebar
Or you can try the other options:
gsettings set org.gnome.desktop.wm.preferences action-double-click-titlebar OPTION
OPTION
– Current valid options are 'toggle-shade', which will shade/unshade the window, 'toggle-maximize' which will maximize/unmaximize the window, 'toggle-maximize-horizontally' and 'toggle-maximize-vertically' which will 'minimize' which will minimize the window, 'shade' which will roll the window up, 'menu' which will display the window menu, 'lower' which will put the window behind all the others, and 'none' which will not do anything.
Not for the border, but for the titlebar. gnome-tweak-tool
will let you do this:
https://apps.ubuntu.com/cat/applications/gnome-tweak-tool/
For example:
Windows > Titlebar Actions > Middle-Click > select [Toggle Maximize Vertically]
Here's an alternate approach: If you middle click the square (orange x, grey -, grey square)
then the window will maximize vertically. I've done that a few times on accident. Glad to finally figure out what random key stroke caused that.
I use a keyboard shortcut.
Go to Settings, Keyboard, Shortcuts, Windows. Then change 'Maximize window vertically'. I use Ctrl+↑.