I read following thread
http://ubuntuforums.org/showthread.php?t=869915&highlight=xrandr

With help of following script I can get my second monitor working:

#!/bin/bash
laptop="1280x800"...