How to change the default behaviour of the fullscreen/maximize button

fullscreenkeybindingswindow-manager

There is a question that deals with the different behaviour of the fullscreen button in the window bar. There, it is shown that by doing:

+ + Click on green or outer right icon (plus icon)

I can maximize a window in both width and height to the current screen.

Now I am wondering if I can make this behaviour standard just by clicking the icon. For an extra bonus, I wonder if there is a keyboard shortcut to achieve the same thing.

Best Answer

Spectacle has been discontinued. They recommend using Rectangle.


Use spectacle, a free open source app that has a bunch of handy window management shortcuts.

While it doesn't change the default behavior of the green button, it makes it superfluous for me to do so as I can do everything using keyboard shortcuts without using the mouse.

For full screen, press:

cmd + option + F

It also has a bunch of options for 1/2 screen, 1/3 screen, top half, bottom half, etc.

List of all the available options for spectacle to modify the windows