I have two laptops and just got an KVM to switch between them.But on my Linux Ubuntu 16, when I switch the screen rearranges and moves all windows around. So when I switch back, I can't work out what is where.Is it possible to do what Windows does: if a monitor / screen is disconnected, it doesn't move any windows around?
Stop windows from being rearranged when an monitor is disconnected
x11;monitors;window management