Comment 11 for bug 515465

Revision history for this message
Torsten Spindler (tspindler) wrote : Re: g-p-m acts when switching to console and back to x when lid is closed

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"