ddcxinfo -hsync > $TMP/hsync ddcxinfo -vsync > $TMP/vsync vert=`cat $TMP/vsync` horiz=`cat $TMP/hsync` if [ $vert = "0-0" ]; then vert="40-90" fi if [ $horiz = "0-0" ]; then horiz="31.5-64" fi