Ubuntu 18.04 - get Ubuntu dock to only display the windows from the current screen (monitor)
Launch Terminal and run
gsettings set org.gnome.shell.extensions.dash-to-dock isolate-monitors true
Launch Terminal and run
gsettings set org.gnome.shell.extensions.dash-to-dock isolate-monitors true