When I try to minimize an application by clicking on its icon, it's minimizing all the windows of that application where I want only focused window to minimize.
1 Answers
(By default, Ubuntu Dock is not configured to minimize on click. For interested readers, please find how you can enable this behaviour below.)
When you click on an app icon in Ubuntu Dock, which is configured to "minimize" if you click the icon, it would appear logical that the entire application is minimized by default. However, try pressing the Shift key while clicking an application icon. This will minimize only the most foremost window. Subsequent Shift+clicks will minimize the other windows one by one.
Having this behavior as the default option on clicking the icon of your focused application would be a feature request. You currently cannot configure Ubuntu Dock (and Dash to Dock) like this.
Such behavior might actually be considered to be inconsistent. After all, a click on an icon of a not focuses application currently raises all windows (as opposed to how Unity launcher works), so consistently, a single click should also hide all windows.
Enabling the minimize on click and Shift-click behaviour
The quickest and safest way is to change the setting usinggsettings
terminal commands:
For click:
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
For Shift-click:
gsettings set org.gnome.shell.extensions.dash-to-dock shift-click-action 'minimize'
Alternatively, you can use dconf-editor
(not installed by default), and navigate to that key to change the settings.
gsettings
keys. Of course they would almost certainly affect each other. – pomsky Oct 05 '18 at 16:46ubuntu-desktop
metapackage. You can do one thing, install but keep Dash to Dock deactivated using GNOME Tweaks or something. Most, if not all, of the configurations you set for Dash to Dock should also be respected by the system dock because of sharedgsettings
keys. – pomsky Oct 05 '18 at 17:16