[ltp] Projected external display truncated.

ben linux-thinkpad@linux-thinkpad.org
Thu, 13 Jan 2005 00:12:12 -0700


> thank you very much. Other than being off by one year (2003-11-05)

Yikes!  Sorry...  I must be getting old.  In fact, I'm provably not as
young as I used to be.

> Could you share your XFconfig-4 (on the list or send it directly if you 
> wish).

I've just included the relevant sections.  This is a simple dual-head
configuration.  I don't use Xinerama for this (turning it on is a
one-liner, below), which means that the displays are accessed as :0.0
and :0.1, and there are some problems with running a window manager.
If I'm running sawfish, then "sawfish --multihead" complains that I'm
already running a window manager but works anyway.  You can't drag
windows back and forth between desktops as you can with Xinerama, but
you can move the mouse back and forth.  The advantage is that you can
run without the second monitor for as long as you want (very awkward
with Xinerama, as windows sometimes pop up on the second monitor since
your desktop really is both screens), and then plug it in again and
use it (assuming you either started X with the extra monitor plugged
in or gave X enough info and told it not to autoprobe (I haven't
tested this)).  Of course, if you want to unplug your dualhead monitor
and plug in a projector (etc) with different resolution you still need
to restart X :(

Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon Mobility M7 [LW]"
        Screen          0
        Driver          "radeon"
        BusID           "PCI:1:0:0"
EndSection

Section "Device"
        Identifier      "external"
        Screen          1
        Driver          "radeon"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "builtin"
        DisplaySize     304.8 228.6
        Option          "DPMS"  "off"
EndSection

Section "Monitor"
        Identifier      "2000FP"
        DisplaySize     408 306
        Option          "DPMS"  "off"
EndSection

Section "Screen"
        Identifier      "builtin"
        Device          "ATI Technologies, Inc. Radeon Mobility M7 [LW]"
        Monitor         "builtin"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1400x1050"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "external"
        Device          "external"
        Monitor         "2000FP"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
		Modes           "1600x1200"
        EndSubSection
EndSection

# Which ServerLayout should we use normally?  It's also a command-line
# switch for X...
Section "ServerFlags"
        Option          "DefaultServerLayout" "dual"
EndSection

Section "ServerLayout"
        Identifier      "default"
        Screen          0 "builtin"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse" "CorePointer"
        InputDevice     "Generic Mouse" "SendCoreEvents"
EndSection

Section "ServerLayout"
        Identifier      "dual"
        Screen          "builtin"
        Screen          "external" leftof "builtin"
        Option          "Xinerama" "off"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse" "CorePointer"
        InputDevice     "Generic Mouse" "SendCoreEvents"
EndSection


-- 
Ben Pearre          http://hebb.mit.edu/~ben       PGP: CFDA6CDA
          Free Music at http://hebb.mit.edu/FreeMusic
Don't let Bush read your email!             http://www.gnupg.org