17

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?

32

Launch Terminal and run

gsettings set org.gnome.shell.extensions.dash-to-dock isolate-monitors true
4
  • 1
    where is this documented? – math2001 Dec 24 '19 at 0:23
  • 3
    umm... right here? – pomsky Dec 24 '19 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) – MisterZ Sep 29 '20 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 '20 at 14:50
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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