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
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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:
Windows > Titlebar Actions > Middle-Click > select [Toggle Maximize Vertically]