20

screenshot with Ask Ubuntu open in Firefox, dock on left

The big dock on the left. In other versions you could escape unity launcher by going to gnome, what now? Gnome tweaks is not showing it as an extension, even though it looks a lot like dash to dock.

Tweaks/Extensions dialog

I see autohide options in settings, but no way to completely remove it and use the gnome default.

Edit: I'm not looking for vanilla gnome, but simply to hide the dock.

21

Since Ubuntu Dock is a system extension (package name: gnome-shell-extension-ubuntu-dock), it is not possible to simply disable it using GNOME Tweaks or from here.

Removing this package by running

sudo apt remove gnome-shell-extension-ubuntu-dock

should get rid of the dock, but it is not at all recommended as it will also remove the ubuntu-desktop meta-package which may break stuffs later (see this).

Arguably a cleaner solution is to use vanilla GNOME (GNOME shell sans modifications made by Ubuntu). In vanilla GNOME, Ubuntu Dock disabled by default.

You may install vanilla GNOME by running

sudo apt install vanilla-gnome-desktop

Once it is installed, reboot (or re-login). Once you get to the GDM login screen you should find a cogwheel (⚙️) next to the sign in button. If you click on the cogwheel you should find options titled "GNOME" and "GNOME on Wayland" along with Ubuntu and Ubuntu on Wayland. Select any of the GNOME options instead of Ubuntu options.

  • 5
    i hate how ubuntu wires everything, canonical even know what "modular" means? – Egon Stetmann. Apr 30 '18 at 15:12
  • 1
    Back to arch I guess... I was hoping to run games a bit more smoothly (read: easily) with ubuntu – Robert Apr 30 '18 at 16:21
  • 1
    It takes a pretty big pair to repackage the "Gnome Desktop" project's work AND rebrand it as "vanilla". – Michael Cole May 31 '18 at 21:15
12

Run the following:

cd /usr/share/gnome-shell/extensions/
sudo mv ubuntu-dock@ubuntu.com{,.bak}

Press ALT + F2 and type r in the input.

  • This is a nice way to go if you don't want to remove any software, i.e. you want to go back and use the vanilla dock some time in the future. – Bo Johnson Jan 7 at 16:28
  • The alt + f2 then typing 'r' will reboot your computer. – wordsforthewise Jan 29 at 22:55
  • @wordsforthewise No this reloads gnome-shell – Ikbel Feb 10 at 16:20
  • Is the folder re-created when the ubuntu-dock package gets upgraded via apt? – Manuel Uberti Feb 12 at 13:50
1

NOTE: If you want to remove it completely delete the /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com (make backup in case of emergency). Then restart.

If you want to tweak more use dconf-editor:

You can tweak the dock from dconf-editor. Install it by sudo apt install dconf-tools.

Open dconf-editor and goto org->gnome->shell->extension->dash-to-dock. You can do some tweaks like hiding dock, turn off extending dock etc. dconf-editor

  • "hiding dock" is not possible, is it? – pomsky Apr 30 '18 at 16:13
  • @pomsky yes it is not possible via dconf-editor. But if it is needed to remove completely , delete /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com folder and restart. – ultimatex Apr 30 '18 at 16:26
  • Not a permanent solution, since the package is a part of ubuntu-desktop metpackage, it will get reinstalled every now and then. – pomsky Apr 30 '18 at 16:33
  • Thanks I was looking for this - dock not full width and autohide, features which i had on dash to dock – iuuuuan May 13 '18 at 15:38

protected by Community Jul 25 '18 at 16:43

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.