Package: x11-xserver-utils
Version: 7.7+5
Kernel: 4.2.0
Arch: amd64
The xrandr query command shows a display that had been disconnected with:
xrandr --output LVDS-1 --off
as still being connected. My host has an LCD display (LVDS-1) and an
external monitor (VGA-1). Starting with both connected:
> xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected 1600x900+0+0 (normal left inverted right x axis y axis)
345mm x 194mm
1600x900 59.98*+
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
720x400 59.55
640x400 59.95
640x350 59.77
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
eDP-1 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis
y axis) 510mm x 287mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 60.02
1440x900 59.89
1280x720 60.00
1024x768 60.00
800x600 60.32
640x480 60.00
720x400 70.08
Both displays are active and mirroring. After running "xrandr --output
LVDS-1 --off" the LCD goes dark and the output now is:
> xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected (normal left inverted right x axis y axis)
1600x900 59.98 +
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
720x400 59.55
640x400 59.95
640x350 59.77
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
eDP-1 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis
y axis) 510mm x 287mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 60.02
1440x900 59.89
1280x720 60.00
1024x768 60.00
800x600 60.32
640x480 60.00
720x400 70.08
However it still indicates that LVDS-1 is "connected" and some apps I
have tried (notably qiv, vlc and virtualbox guests) seem confused and
believe fullscreen is still 1600x900 and NOT 1920x1080.
This may be pilot error, but I would have suspected that LVDS-1 should
be "disconnected" and that apps should be completely unaware of its
existence and not use its res as fullscreen.