I think the modern way of doing it is dynamically, using xrandr 1.2 features:

http://www.intellinuxgraphics.org/dualhead.html

Something like:

xrandr --output VGA --left-of LVDS -s 1024x768
...