Disable Ubuntu Dock via Terminal
In the latest version of Ubuntu (Mainly Ubuntu 20.04 and later) you can easily disable the Ubuntu Dock without using any third part GUI apps. Using the Ubuntu Dock, you set your favorite or frequently used apps to launch it quickly. If you don’t like or you want to save of your desktop space then you can easily disable it. It comes in the left side of the screen by default. It is Dash to Panel fork.
Note: Do not try this on older version of Ubuntu (below Ubuntu 20.04). System may break. Tested on Ubuntu 20.04.
Disable Ubuntu Dock:
You can disable the Ubuntu Dock via terminal command line tool. Open the command-line terminal tool (ctrl+alt+t) and run below command.
This will list all installed gnome extensions on your terminal. Here “[email protected]” is the Ubuntu Dock extension. Then run this command to disable the Dock.
gnome-extensions disable [email protected]
It will disable the dock. If it still shows just restart Ubuntu.
If you still missing the dock, then you can bring back it by using this command.
gnome-extensions enable [email protected]