How to Disable Dock on Ubuntu and Gain More Screen Space

Don't like the launcher on the left side of the screen in Ubuntu? Learn how to easily disable the dock in Ubuntu 20.04.
Warp Terminal

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.

Starting with Ubuntu 20.04, you can easily disable this dock as part of dock customization in Ubuntu. Let me show you how to do that graphically and via command line in this quick tutorial.

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):

Gnome Extensions App Ubuntu
Look for Extensions app in the menu

If you don’t have it installed already, you should enable GNOME Shell Extensions. The Extensions GUI app is part of this package.

This is only valid for GNOME 3.36 or higher versions available from Ubuntu 20.04.

sudo apt install gnome-shell-extensions

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.

Disable Ubuntu Dock
Disable Ubuntu 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:

gnome-extensions list

This will show you an output similar to this:

List GNOME Extensions
List GNOME Extensions

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]


Docks are actually handy. Perhaps you disabled the dock to try something else? If that's the case, here are some suggestions.

7 Docks to Customize Your Linux Desktop
A dock has been an important part of the Linux desktop experience for decades. It provides a handy way of quickly accessing your favorite, frequently used applications. Unfortunately, the popular desktop environment GNOME doesn’t provide a dock. Fret not. You can always install a Docking applicati…

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 a dock or without GNOME?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 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 🕵️‍♂️

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


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.