31

I am using Ubuntu 18.04 and used this command

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

to turn on minimize on dock with single click on icon. How to revert back and turn off this feature?

Because it's irritating for browser if multiple window open. How to exclude browsers from this settings and/or how to revert back system wide?

pomsky
  • 68,507
sam
  • 2,806

3 Answers3

41

You can revert to the default option by running

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

Also try running

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

then you'll get all possible values that can be set. See if you find another option preferable.

pomsky
  • 68,507
6

Use:

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

This does exactly what you want it to do.

pomsky
  • 68,507
5

For those who are looking for a Windows-like "click-action", use:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize-or-previews'
pomsky
  • 68,507
  • 1
    Good answer. This is applicable to newer versions of Ubuntu Dock, was not available in older versions. – pomsky Jun 13 '20 at 17:03