Do you want to reset the Ubuntu Dock to its default settings, with the same app shortcuts placed on it as if you had just installed Ubuntu?
If so, you can get back to a ‘fresh install feeling’ using a terminal command.
There are numerous ways to customise the Ubuntu Dock, including adding, removing, and reordering app shortcuts; changing the size of icons; moving the Ubuntu Dock to a different position on the screen; hiding mounted drives…
And, if you’ve ever read one of my guides on things to do after installing Ubuntu, you may have run a command enable minimise on click — maybe even tussled with another “hidden” features not natively exposed within the Ubuntu UI.
But it’s possible to go too far.
Perhaps the dock isn’t behaving the way it used to, looks weird, or is otherwise past a point of no return — whatever the reason, if you want reset the Ubuntu Dock, here’s how.
Resetting Ubuntu Dock to Default Settings
To revert to “out of the box” settings on all supported versions of Ubuntu, do as follows.
- Open the Terminal app on Ubuntu
- Type or copy & paste the following command then press
enter
:
dconf reset -f /org/gnome/shell/extensions/dash-to-dock/
As soon as you hit the enter
key (or return
, I forget which country calls it what) the dock instantly resets, likely blinking or glitching for a split second as it moves back to its original location, icon set, focus behaviour, and everything else.
But you’re not finished yet.
While the above command above will reset the dock’s settings to their original values it won’t change the app shortcuts that are placed on it.
If you want to restore the default set of dock shortcuts do this:
- Open the Terminal app on Ubuntu
- Type or copy & paste the following command then hit
enter
:
dconf reset -f /org/gnome/shell/extensions/favorite-apps
Obviously, if you uninstall any of the apps the dock is hardcoded to contain (e.g., LibreOffice, the Firefox snap package, etc) those won’t magically reappear (or, for your peace of mind, be reinstalled).
Wrap Up
And that’s it; two simple commands to reset Ubuntu Dock settings to its original values. Perfect for when you want to undo a change (but don’t know how), or you wish to start over with a clean slate.