i use xrandr to control my monitors. for my hardware i do this
xrandr --ouptut VGA-0 auto --output LVDS auto --right-of VGA-0
that makes my extra monitor act as if it were the right side of the main monitor and both act as one big destop.
check "xrandr --help"