Matthew Palmer: Xinerama is the r0x0r
I was motivated, this morning, to look into whether my laptop chipset
(Intel 915GM, for anyone interested) could do this funky multihead thing.
Much to my surprise, it was (a) possible, (b) quite simple, and (c)
incredibly useful. I now have a 15" Dell LCD screen on a cardboard box
behind my laptop docking station. What is it useful for, you ask? Let me
count the ways (with the help of the <ol> tag, of course):
- I've gotten a couple of PDF versions of my current "must always have with me" technical books (Programming Ruby and Agile Web Development With Rails, since you didn't ask), and now I can stick them on the other monitor to refer to while I'm coding.
- I can stick my xchat window up on the external monitor, so I can quickly glance at what's going on without having to touch anything. With the ability to stick a window on all desktops, I can have xchat no matter where I go!
- If I want to show somebody else something, it's handy to be able to push it up onto the top screen so they can more easily see it without having to crane down at my laptop screen (plus, if they go "what about <smudge>that?</smudge>", it's work's monitor that's getting grotted on, not my laptop screen that I have to stare at for 10+ hours a day).
Section "ServerFlags"
Option "DefaultServerLayout" "double"
#Option "DefaultServerLayout" "Default Layout"
EndSection
# This Device section is effectively identical to the one for the
# primary screen, with the addition of the Screen 1 parameter to
# select the alternate display device.
Section "Device"
Identifier "vgaout"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "CRT"
Screen 1
Option "DDC" "false"
EndSection
# external display
Section "Monitor"
Identifier "generic"
# I kept all these loose because most monitors support
# autodetection.
HorizSync 27 - 96
VertRefresh 50 - 110
Option "DPMS"
EndSection
Section "Screen"
Identifier "external"
Device "vgaout"
Monitor "generic"
DefaultDepth 24
SubSection "Display"
Depth 24
# I'd have added many more modes here, but
# the amazingly crufty external LCD I'm using
# only supports 1024x768.
Modes "1024x768"
EndSubSection
EndSection
# xinerama layout
Section "ServerLayout"
Identifier "double"
# The 0 0 (I think) identifies this as the "root" monitor
Screen "Default Screen" 0 0
# You can also use Below, LeftOf, or RightOf to position
# your shiny subscreen
Screen "external" Above "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Never, ever forget this option. You'll get laughed at
Option "Xinerama" "true"
EndSection
); background-repeat: no-repeat;">


