Click left Dock Icon to Minimize App Window in Ubuntu 21.10

Last updated: September 23, 2021

This simple tutorial shows how to enable ‘minimize on click’, minimize running app window when clicking on its icon on the left dock panel.

All the opened app icons are docked on the left panel in Ubuntu GNOME desktop. Unlike Windows, it however does not minimize focused app when you click its icon on the dock. And, neither “System Setting” nor “Gnome Tweaks” has option to enable this action.

Since the Ubuntu dock is handled by the dash-to-dock extension, it does have the option to enable the feature. All current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, and Ubuntu 21.10, can enable this feature via following steps.

Single command to enable ‘Minimize on click’:

The dash-to-dock Gnome extension in Ubuntu is called ‘Ubuntu Dock’. As the built-in extension, it does not provide settings page in ‘Gnome Extensions’ app. However, users may run single command to change its options one by one.

Firstly, either search for and open terminal from ‘Activities’ overview or press Ctrl+Alt+T key combination on keyboard. When terminal opens, run command:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize

After that, click on dock icon to open or focus an app, and click again to see effect!

Enable ‘Minimize on click’ via Dconf Editor (Graphical Tool):

For those hate Linux command, the advanced “Dconf Editor” configuration tool is present to do the trick.

1.) Firstly, search for and install ‘dconf editor’ via Ubuntu Software if you don’t have it.

2.) Next, search for and open the tool from the upper-left Activities overview, and then navigate to org -> gnome -> shell -> extensions -> dash-to-dock.

Then scroll down and find out settings for ‘click-action’, and do:

  • click the line to go into its configuration page.
  • turn off the default value switch.
  • select ‘minimize’ as Custom value.

You may also set the value to ‘minimize-or-overview’, which will go to overview screen if more than one windows of the same app are opened; or ‘minimize-or-previews’ that opens thumbnail preview if multiple app instances exist.

That’s it. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

7 responses to Click left Dock Icon to Minimize App Window in Ubuntu 21.10

  1. Thank You So Much Bro…!!! You Made My Day…!!!

  2. thank you

  3. I have been missing this ever since installing 17.10. Thank you Soooo much!

  4. Thank You! It works under Bionic too.

  5. Thank you Ji M!!! Made my day.