The launcher on the left side has become the identity of Ubuntu desktop. It was introduced with Unity desktop and even when Ubuntu switched to GNOME, it forked Dash to Panel to create a similar dock on GNOME as well.
Personally, I find it handy for quickly accessing the frequently used applications. But not everyone wants it to take some extra space on the screen.
Disable Ubuntu dock with Extensions app
One of the main features of Ubuntu 20.04 was the introduction of Extensions to manage GNOME extensions on your system. Just look for it in the GNOME menu (press Windows key and start typing):
Don’t have Extensions app?
If you don’t have it installed already, you should enable GNOME Shell Extensions. The Extensions GUI app is part of this package.
sudo apt install gnome-shell-extensions
This is only valid for GNOME 3.36 or higher version available in Ubuntu 20.04 and higher versions.
Start the extensions app and you should see Ubuntu Dock under the Built-in extensions section. You just have to toggle the button off to disable the dock.
The change is immediate and you’ll see that dock disappears immediately.
You can bring it back the same way. Just toggle it on and it will appear immediately.
So easy to hide the dock in Ubuntu 20.04, isn’t it?
Alternative Method: Disable Ubuntu dock via command line
If you are a terminal enthusiast and prefer to do things in the terminal, I have good news for you. You can disable the Ubuntu dock from command line.
Open a terminal using Ctrl+Alt+T. You probably already know that keyboard shortcut in Ubuntu.
In the terminal, use the following command to list all the available GNOME extensions:
This will show you an output similar to this:
The default Ubuntu dock extension is [email protected] You can disable it using this command:
gnome-extensions disable [email protected]
There will be no output message displayed on the screen but you’ll notice that the launcher or dock disappears from the left side.
If you want, you can enable it again using the same command as above but with enable option this time:
gnome-extensions enable [email protected]m
There are ways to disable the dock in Ubuntu 18.04 as well. However, it may lead to unwarranted situations if you try to remove it in 18.04. Removing this package also removes the ubuntu-desktop package and you may end up with a system with broken functionalities like no application menu.
This is the reason why I won’t recommend removing it on Ubuntu 18.04.
It’s good that Ubuntu 20.04 gives a way to hide the taskbar. Users have more freedom and more screen space. Speaking of more screen space, did you know that you can remove the top title bar from Firefox and gain more screen space?
I am wondering how do you prefer your Ubuntu desktop? With the dock, without dock or without GNOME?