Most Ubuntu users come from a Windows or a Mac system. While nobody probably expects Ubuntu to be the same as other more popular systems, there are some basic tasks that users expect from it. For instance, Windows users immediately look for a task manager if an app stops responding. That user would still look for a task manager or an alternative when on Ubuntu, under a similar situation. Ubuntu does have a task manager. When you click an app icon that is already open, on the Ubuntu dock, you expect it to minimize. Not only is this how most other operating systems behave, but it also seems natural. Click to minimize has always been disabled by default on Ubuntu for some reason. Here’s how to enable Click to Minimize on Ubuntu 18.04.
With Ubuntu 18.04, Ubuntu has completely ditched Unity for GNOME 3. Canonical does ship a modified version on GNOME so users still have the dock on the left by default. Naturally, click to minimize is still disabled here. Moreover, with Unity, users could enable click to minimize easily in the dock settings. Since Ubuntu 18.04 uses GNOME, there are no such settings available anymore. When you click on an app icon already in focus, the default action is to do nothing. This behavior can be changed via a GNOME extension called Dash to Dock.
Since Ubuntu has already modified the GNOME Dash to appear as a dock on the desktop, installing the Dash to Dock extension can create some conflicts. You can still install dash to dock and enable click to minimize without enabling the extension though. It works.
You’ll need the GNOME Tweak Tool or the Extensions extension to manage dash to dock and enable the said feature. That can all be a bit more complicated than it needs to be. Especially if you don’t care about extensions or Tweaks. Click the gear icon next to Dash to dock on any of those. Under Behaviour in the new window that pops up, select the desired Click action. You can select between Minimize, Cycle through Windows, and raise window amongst other things.
Enable click to minimize on Ubuntu
There are a couple of ways to enable click to minimize on Ubuntu without installing the dash to dock extension though, by simply enabling the property manually.
Method 1: via Terminal
This is the recommended way to enable click to minimize. For one, it isn’t complicated at all. Furthermore, it does not require you to install another app that you may never use again. All you have to do is copy a single command line and paste it into a terminal window. Launch the Terminal on your Ubuntu system. You can do this by hitting the window key and searching for the terminal or pressing Ctrl+Alt+T on the keyboard. Copy the following command, paste it into the terminal, and hit Enter. You can, of course, type it all out in the terminal if you prefer.
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
If you don’t like the click-to-minimize feature later, you can get rid of it too just as easily. Copy or type the following command in a terminal and hit Enter.
gsettings reset org.gnome.shell.extensions.dash-to-dock click-action
Method 2: via Dconf Editor
Dconf editor is somewhat of the registry editor equivalent on Linux. Even if you aren’t comfortable with the command line, doing this via the Dconf editor will have to be the tougher option. It might even prove riskier if you’re not careful. Dconf editor does not ask you for any confirmations and changes are applied as soon as you click. It can be found in the Ubuntu software center where it can be easily installed.
Open Dconf editor when installed and navigate to org > gnome > shell > extensions > dash-to-dock. Scroll down, find click-action, and click it. Turn off the Use default value toggle here and change the custom value to ‘minimize’ including the inverted commas.
You may also like: How to Manage Users in Ubuntu 18.04