ubuntu minimize on click code example
Example 1: ubuntu minimize window by clicking on dock
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
Example 2: Why double tapping icon doesnt minimize in ubuntu
gsettings reset org.gnome.shell.extensions.dash-to-dock click-action