[intel] Two different screens possible for a Laptop

Remy Bosch remybosch at zonnet.nl
Mon Jun 18 23:55:01 PDT 2007


I have one monitor section for my main display (LCD) and added a virtual
with the size of the combined size of the two displays.

Note that for this example, you'll need:
- xserver-1.3 or greater
- intel-driver-2.0 or greater
- xrandr-1.2 or greater

[code= xorg.conf snippet]
Section "Screen"
        Identifier      "Main TFT"
        Device          "915"
        Monitor         "LCD Screen"
        DefaultDepth    24
        Subsection "Display"
                Depth           24
                Modes           "1280x800"
                ViewPort        0 0
                Virtual         2560 1024  # Added room for 1280x1024
sized display here.
        EndSubsection
EndSection
[/code]

Then, when X is started up, you run xrandr:
xrandr --output VGA --auto                     # enable any display
connected auto-magicly
xrandr --output VGA --right-of LVDS    # Set the VGA on the right side

So, in short yes ;-)
See the xrandr man page for more options.

Depending on you hardware (mine is a i915) you'll lose dri. This has to
do with the displaysize the chip can handle. Gues Intel bet that the
second screen would only be used for cloning :(


Remy



More information about the xorg mailing list