Depends on your setup. I run a fairly custom setup without a DE and such and I just use xrandr(arandr) and saved the layouts. I haven't bothered to make anything happen automatically since I have a few different monitor setups, so I just run the scripts manually.