It is not completely clear to me how to use xrandr to detect multiple displays. On the command line it looks like the following will see if an external display is connected:
$ xrandr | grep connected | grep -v disconnected | egrep "VGA|DVI"
It is not completely clear to me how to use xrandr to detect multiple displays. On the command line it looks like the following will see if an external display is connected:
$ xrandr | grep connected | grep -v disconnected | egrep "VGA|DVI"