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?
Best Answer
Launch Terminal and run