TransWikia.com

How do I get the Ubuntu Dock off the secondary monitor?

Ask Ubuntu Asked by WayneNani on February 12, 2021

I updated to Ubuntu 18.04 a few weeks ago with little to no problems until now. After an update I installed and a reboot, my sidebar (Ubuntu dock) shows on the secondary screen, which is my Laptop, while my HDMI monitor is saved as the primary and has the top bar with time, battery and so on.

How can I get the sidebar back to my primary screen?

3 Answers

CLI method:

You can disable the multiple monitors option for the dock by running the following command in Terminal:

gsettings set org.gnome.shell.extensions.dash-to-dock multi-monitor false

Then you can set your preferred monitor by running

gsettings set org.gnome.shell.extensions.dash-to-dock preferred-monitor <monitor-number>

(Put -1 in place of <monitor-number> for the primary monitor)

GUI method:

See the answer by singrium and the answer by Dan Dascalescu.
(GUI method may not work in special cases)

Correct answer by pomsky on February 12, 2021

You can get the sidebar back to your primary screen by doing the following.

  1. Open Settings.
  2. Go to Dock.
  3. On the section Show on, choose the screen you want to display the Dock in.

An example (Ubuntu 18.04):

enter image description here

Answered by singrium on February 12, 2021

In Ubuntu 20.04 Focal Fossa, there's a simple setting you can configure in Appearance -> Dock -> Show on:

Change Dock settings in Ubuntu 20 Focal Fossa

Answered by Dan Dascalescu on February 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP