This is a beginner’s guide shows how to enable the left Dock click action ‘Click to Minimize‘ in Ubuntu 22.04 and Ubuntu 23.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 by default 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.
Supported Systems:
This tutorial is tested, and it works in the following systems:
- Ubuntu 20.04.
- Ubuntu 23.04|23.10.
- and Ubuntu 22.04
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 on keyboard 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 (or Ubuntu Store in 23.10):
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!