This is a beginner’s guide shows how to enable the left Dock click action ‘Click to Minimize‘ in Ubuntu 21.10.
In Ubuntu with the default GNOME desktop, clicking an app icon on the left Dock will open or focus the application window. But it does not minimize it when you click it again.
Ubuntu Dock, aka dash-to-dock extension, does have the feature to minimize current window when clicking on its shortcut icon. And this tutorial will show you how to enable the feature.
This tutorial is tested, and it works in the following systems:
- Ubuntu 20.04.
- Ubuntu 20.10.
- Ubuntu 21.04.
- Ubuntu 21.10.
Enable Click to Minimize via single command:
For those familiar with Linux commands, this minimize on click feature can be enabled simply by running a single command in terminal.
Just press Ctrl+Alt+T to open terminal, copy and paste the command below:
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
And see the magic after hitting Enter on keyboard.
Enable Minimize on Click via Dconf Editor:
If you prefer using a graphical configuration tool. Search for and install Dconf Editor in Ubuntu Software:
Then launch dconf editor, navigate to
org/gnome/shell/extensions/dash-to-dock and scroll down to find out the ‘click-action‘ key.
Click go into its configuration page, then:
- disable ‘Use default value’
- Under Custom value select ‘minimize’, ‘minimize-or-overview’, or ‘minimize-or-previews’
- Finally click bottom-right ‘Apply’ button to apply the change.
That’s it. Enjoy!