It looks like Ubuntu Dock (which inherits from dash-to-dock) has its own zero-based numbering. Try changing this number:
gsettings set org.gnome.shell.extensions.dash-to-dock preferred-monitor 0 or just go to "Settings > Appearance" and select your preferred monitor there. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/1922298 Title: Ubuntu Dock on wrong display Status in gnome-shell-extension-ubuntu-dock package in Ubuntu: Incomplete Bug description: The activities panel is showing up on the wrong display. Selecting the "primary display" as 3 in the display settings puts the top bar on display 3 , but the activities bar on screen 2. Screenshot attached Similarly, selecting primary display = 2 then activities bar ends up on 1 primary display = 1 then activities bar ends up on 3 I'm hoping this is just an off by one error somewhere. I think gnome-shell is the correct package. Feel free to move to the correct package ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-shell 3.36.7-0ubuntu0.20.04.1 ProcVersionSignature: Ubuntu 5.8.0-49.55~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-49-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Thu Apr 1 17:16:30 2021 DisplayManager: gdm3 InstallationDate: Installed on 2020-06-12 (293 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200609) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash RelatedPackageVersions: mutter-common 3.36.7+git20201123-0.20.04.1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1922298/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp