I have two monitors, my built in laptop one (my laptop is a Dell XPS 15 L502x) and my external monitor (a ViewSonic VX2453mh-LED). The external monitor is connected through my miniDisplay Port to an HDMI port on the monitor. Here is the output of xrandr:
Code:
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.1*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 290mm
1920x1080 60.0*+
1600x1200 60.0
1680x1050 60.0
1400x1050 60.0
1280x1024 75.0 60.0
1440x900 59.9
1280x960 60.0
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
I use Debian Wheezy Xfce, and I have added the following command to my session and startup list:
Code:
xrandr --output HDMI1 --left-of LVDS1
This works fine for the desktop, but the display manager I'm using, LightDM, clones the screens and doesn't use the correct resolution (I assume because the command is run after login). I have tried both KDM and MDM also, and both do the same thing. My guess is that I have to run the command before the display manager loads, but I don't know how to do this.