4

Whenever I open a single folder and if I click on the Nautilus icon in the dock, it doesn't minimize it. Is there a way to do this?

pomsky
  • 68,507
  • 1
    As I understand you want to minimise when there is a single window of the application but want to show thumbnail previews if there are more than one windows. In that case run gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize-or-previews' instead of the command mentioned in the answer below. – pomsky Jun 13 '20 at 17:22
  • Hello @pomsky thank you very very much for your useful comment. If i could minimize multiple folders, it would be fantastic (e.g. first click on nautilus to see preview, second click to minimize/maximize). – Gennaro Arguzzi Jun 13 '20 at 19:01
  • This is a great feature for ex-Windows users. Sometimes you click an icon by mistake and want to quickly minimise it. This happens by default in Windows (version 10) and I had missed the feature on Ubuntu until activating the function after reading this question. – Disproportionate Sep 22 '21 at 14:23

1 Answers1

6

If you mean 'minimize on click', you can activate this feature by running the following command:

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

After running this command, whenever you click on the icon of the folder/application, it will be minimized.
Here is a demo:

enter image description here

If you want to go back to the default settings, run the following command:

gsettings reset org.gnome.shell.extensions.dash-to-dock click-action
singrium
  • 6,880