How to disable the hide window animation

I am on Ubuntu 21.04. I want to disable the hide animation where the window minimizes into the dock icon.


Solution 1:

that would be:

gsettings set org.gnome.desktop.interface enable-animations false

on a terminal window.