I have a Thinkpad 440S and am running Ubuntu 14.04 with gnome shell. When the laptop is docked, I have an external monitor, which I use as the main monitor. When I undock the laptop, the windows move to the laptop screen, but when I redock the display systems don't revert. The laptop is still the main monitor and the external monitor is on the wrong side as it was previously configured. If I restart the machine the changes get reverted and all is fine, but I hate having to do that every time I come back from a meeting.I looked on the Ubuntu launchpad site and found the same bug, but it's been open 2011.Is there something I can do to reload the monitor settings on docking without having to restart my screen? I would even setting for a script that refreshes the monitor settings from the saved state.Thanks!