I'm running Ubuntu 12.04 and using a monitor that I share with a Windows laptop via a KVM. When I login to Ubuntu my resolution is 1900x1200, but when I use the KVM to toggle over to my laptop and then Ubuntu locks, when I KVM back my resolution is set super low. When I open "Displays" it automatically corrects my resolution back to 1900x1200, and the resolution is fine if I use the KVM to toggle back to Ubuntu before it locks.
I've seen the suggests this post with suggestions on either creating a bash script to set resolution (which seems hacky) or using X settings in xorg.conf, but my symptoms seem different than the ones described in that issue so I didn't want to just blindly try those suggestions.
Help is much appreciated!