Ubuntu Minimize Windows On Click
If you're using Ubuntu with GNOME, you may be frustrated with the "Dock". By default, clicking dock icons won't minimize windows.
Luckily, we can simply edit related "gsettings schema" to get back what we used to do.
Under "org.gnome.shell.extensions.dash-to-dock" schema, we've lots of keys and one is waiting for us to edit:
ali@zion:~$ gsettings list-keys org.gnome.shell.extensions.dash-to-dock transparency-mode shortcut-text apply-custom-theme apply-glossy-effect click-action app-hotkey-9 custom-background-color app-shift-hotkey-1 multi-monitor height-fraction app-ctrl-hotkey-1 isolate-workspaces shift-click-action shortcut-timeout show-delay custom-theme-shrink app-shift-hotkey-2 show-windows-preview show-trash app-ctrl-hotkey-2 autohide-in-fullscreen icon-size-fixed scroll-action shift-middle-click-action custom-theme-running-dots-border-color app-shift-hotkey-3 pressure-threshold hide-delay show-apps-at-top app-ctrl-hotkey-3 show-favorites app-shift-hotkey-4 show-running force-straight-corner app-hotkey-1 app-ctrl-hotkey-4 running-indicator-style hotkeys-overlay app-shift-hotkey-5 animation-time custom-theme-running-dots-color running-indicator-dominant-color hotkeys-show-dock app-ctrl-hotkey-5 show-show-apps-button animate-show-apps unity-backlit-items app-hotkey-2 custom-theme-running-dots-border-width app-shift-hotkey-6 shortcut customize-alphas app-hotkey-3 app-ctrl-hotkey-6 autohide show-mounts minimize-shift dock-position app-shift-hotkey-7 app-hotkey-10 custom-theme-customize-running-dots app-hotkey-4 app-ctrl-hotkey-7 background-opacity middle-click-action extend-height dock-fixed app-shift-hotkey-8 max-alpha app-hotkey-5 app-ctrl-hotkey-8 dash-max-icon-size app-shift-hotkey-9 intellihide require-pressure-to-show app-hotkey-6 app-ctrl-hotkey-9 bolt-support scroll-switch-workspace preferred-monitor min-alpha app-hotkey-7 app-ctrl-hotkey-10 activate-single-window intellihide-mode isolate-monitors background-color app-hotkey-8 app-shift-hotkey-10 hot-keys
The "click-action" key seems useful. Change it's value to 'minimize' and you're good to go:
And that's it! Now you can click any icon on your dock to minimize related window. If you want to revert changes, you can always use "reset" for related key:
No more looking around for minimize button...