Here’s how you can autohide the default dock in Ubuntu 22.04 LTS and other versions.
Being the most popular Linux distribution, Ubuntu is used by millions and installed on different hardware with varying screen sizes. That ranges from 13-inch to much bigger screen laptops.
Also, if you have a multiple-display setup, then the GNOME desktop adapts itself to the new screen.
However, for smaller screen sizes, adequate screen space is limited. This affects the developers and artists the most, where IDEs and apps don’t get much space. And the dock is fixed at the left, eating away precious screen space.
For those cases, it’s wiser to auto-hide the default left doc in Ubuntu.
Auto hide dock in Ubuntu
- Open Settings from the application menu.
- Go to the Appearance tab.
- Enable the “auto-hide the dock” switch.
- Once enabled, the dock hides itself when a window touches the dock. And effectively give you a little extra screen space.
However, the dock won’t reappear unless you move the window away. Also, when there is no window open, the dock remains visible.
Some Usage Notes
The Ubuntu dock is a GNOME Extension behind the scene. Hence, you can also turn it off permanently by disabling the extension itself. If you have an Extension Manager app installed, you can turn it off here:
Also, you can use the following command to disable it.
gnome-extensions disable firstname.lastname@example.org
But remember, this will permanently disable it. It would not make it autohide.
That’s it. I hope this quick guide helps you!