VOOZH about

URL: https://itsfoss.com/click-to-minimize-ubuntu/

โ‡ฑ How to Enable Click to Minimize on Ubuntu


๐Ÿ‘ Ghostboard pixel

How to Enable Click to Minimize on Ubuntu

This tutorial shows you how to enable click to minimize option on Ubuntu. Both GUI and command line options have been mentioned.
Abhishek Prakash
4 min read
๐Ÿ‘ Warp Terminal

The launcher on the left-hand side of Ubuntu is a handy tool for quickly accessing applications. When you click on an icon in the launcher, the application window appears in focus.

If you click again on an application icon already in focus, the default behaviour is to show previews. This may bother you if you expect the application window to be minimized on the second click.

Perhaps this GIF will better explain the click-on-minimize behaviour on Ubuntu.

๐Ÿ‘ Image
Click to Minimise

In my opinion, this should be the default behaviour but apparently, Ubuntu doesnโ€™t think so. So what? Customization is one of the main reasons why I use Linux and this behaviour can also be easily changed.

In this quick tutorial, Iโ€™ll show you how to enable click to minimize on Ubuntu 22.04 and 20.04. Iโ€™ll show both the command line and the GUI methods here.

Enable click to minimize on Ubuntu using the command line (recommended)

This method is for Ubuntu 20.04, 22.04 and newer version users with the GNOME desktop environment.

The first option is using the terminal. I recommend this way to โ€˜minimize on clickโ€™ even if you are uncomfortable with the command line.

Itโ€™s not at all complicated. Open a terminal using the Ctrl+Alt+T shortcut or search for it in the menu. All you need is to copy and paste the command below into the terminal.

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

No need to restart your system or anything of that sort. You can test the minimize on click behaviour immediately after it.

If you do not like the click to minimize behaviour, you can set it back to default using the command below:

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

Enable click to minimize on Ubuntu using the GUI tool

You can do the steps mentioned above using a GUI tool called Dconf Editor. It is a powerful tool that allows you to change many hidden aspects of your Linux desktop. I avoid recommending it because one wrong click here and there may screw up your desktop settings. So be careful while using this tool because it works with a single click and changes are applied immediately.

You can find and install Dconf Editor in the Ubuntu Software Center.

๐Ÿ‘ Dconf Editor in Ubuntu Software Center
Dconf Editor in Ubuntu Software Center

Once installed, launch Dconf Editor and go to org -> gnome -> shell -> extensions -> dash-to-dock. Scroll down a bit until you find click-action. Click on it to access the click action settings.

Turn off the Use default value option and change the Custom Value to โ€˜minimizeโ€™.

๐Ÿ‘ Set Click Action to "Minimize" in Dconf editor
Set Click Action to "Minimize"

You can see that the minimize-on-click behaviour has been applied instantly.

Did it work for you?

I hope this quick tip helped you to enable the minimize-on-click feature in Ubuntu.

There are more ways to customize the Dock. Check it out if interested.

If you are using Ubuntu, I suggest reading GNOME customization tips for even more customization options.

Or, if you are new to Ubuntu, you can read our essential things to do after installing the Ubuntu article.

If you have any questions or suggestions, please leave a comment. If it helped you, perhaps you could share this article on various social media platforms such as Reddit and Twitter.

About the author

Abhishek Prakash

Created It's FOSS 13 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Read next

Things You Should Know About Ubuntu 26.04

After a Long Time, Ubuntu Shows Some Respect to Deb Packages

Itching to Try the Hot COSMIC DE on Ubuntu Linux? Here's an Easy Way

7 Projects Killed by Ubuntu (But I Still Miss Them)

Ubuntu Will Soon Make AMD GPUs Much Easier to Use for AI Workloads

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

๐Ÿ‘ itsfoss happy penguin