23

I am using Ubuntu 18.04 (with Linux kernel 4.15.0-33-generic) on a setup with laptop and an external monitor. Is there a way to make the dock in Ubuntu 18.04 only display the windows from the current screen. There was a similar feature in Ubuntu 16.04.

In short if an app is only opened on one of the screens it was still displayed in the launcher but with a different indicator. When there are two windows of an app (e.g. I have two gedits or two chromes opened) one for each screen, clicking on the icon in the dock opened the window for the corresponding screen (instead of displaying a picker with the two windows).

Is there a way to have similar configuration for Ubuntu 18.04?

2 Answers 2

48

Launch Terminal and run

gsettings set org.gnome.shell.extensions.dash-to-dock isolate-monitors true
4
  • 2
    where is this documented?
    – math2001
    Dec 24, 2019 at 0:23
  • 4
    umm... right here?
    – pomsky
    Dec 24, 2019 at 5:22
  • 1
    Amazing this is not available in the settings .... works perfectly combined with gsettings set org.gnome.shell.extensions.dash-to-dock multi-monitor true (Ubuntu 20.04 LTS / Gnome 3.36.x)
    – MaesterZ
    Sep 29, 2020 at 9:39
  • @math2001 According to this comment, the gnome dock is a fork of Dash To Dock, which also does not really document this other than here
    – lucidbrot
    Nov 1, 2020 at 14:50
2

You could also achieve the same by using the dconf Editor application (that can be found in Ubuntu store). Just go to /org/gnome/shell/extensions/dash-to-dock and search for isolate-monitors and toggle its value to make the change.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .