If you want to change default settings for your GNOME Shell and enable Minimize on click for your dock icons, this tutorial will be good for you because here we explained how to do this.
Solution 1: Use Dash to Dock extension to enable Minimize on Click
Follow the steps bellow:
- Go to Dash to Dock’s homepage at GNOME extensions.
- Install and Turn the extension on by clicking on the toggle button.
- Click on the “Settings” symbol next to the toggle button which now says “ON”. A window should pop up.
- Navigate to the “Behavior” tab and select “Minimize” in “Click action”.
- Close the window and turn back to Dash to Dock homepage.
- Click on the toggle button to deactivate Dash to Dock (If you don’t need it anymore).
Now clicking on the icons of running applications in Ubuntu Dock should minimize/restore the focused application window. And you can use keyboard short key “Super+Number” to check this out!
Solution 2: Use CLI Method to enable Minimize on Click
For professional and non-beginner users it’s the best way to enable the minimize-on-click option for your GNOME Dock. You just need to open your Terminal using Ctrl+Alt+T and enter this command:
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
To revert to the default option, simply run this command:
gsettings reset org.gnome.shell.extensions.dash-to-dock click-action