Thinkpad X24 + Linux で dual head

マルチモニター(Dual Display /dual head)をやってみたくて設定をやってみたが、結構簡単にできた。

OS: Vine linux 3.1CR
PC: Thinkpad X24
LCD : Sony SDM-S204(/Samsung LCD SyncMaster 213T) と TPX24のLCD

Vine linux 3.1ではXineramaが最初から使えるらしく、xorg.conf
dual headsで検索したときの設定を流用するだけで良かった。

具体的には、下のようにxorg.confを書き換えて、Xを立ち上げるだけ。
ノートスクリーンの右横に1600x1200の外部LCDが並ぶ形になり、カーソル
を動かすことで両者が行き来できる。なお、この場合、仮想デスクトップ
サイズが(1024+1600)x1200となるようだ。

なお、この場合、Fn+F7でのon/off/切り替えはできなくなる。
現在、外部LCDvmware(Windows 2000)、本体LCDLinuxを出して
作業しているが、非常に快適だ。

------------/etc/X11/xorg.conf-----------------
# X.Org X11R6.7.0 configuration generated by Xconfigurator 4.92
Section "ServerLayout"
        Identifier "XOrg Configured"
        Screen      0  "Screen0" 0 0
#       Screen      1  "Screen1" Above "Screen0"
        Screen      1  "Screen1" Rightof "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse9" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "Xinerama" "on"
        Option          "Clone" "off"
EndSection

Section "Files"
        FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
        FontPath "unix/:7100"
        FontPath "/usr/X11R6/lib/X11/fonts/japanese"
        FontPath "/usr/X11R6/lib/X11/fonts/misc"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
EndSection

# Module loading section

Section "Module"
        Load  "dbe"             # Double-buffering
        Load  "GLcore"          # OpenGL support
        Load  "dri"             # Direct rendering infrastructure
        Load  "glx"             # OpenGL X protocol interface
        Load  "extmod"          # Misc. required extensions
        Load  "v4l"             # Video4Linux
        # Load  "record"        # X event recorder
        # Load  "xtt"    # TrueType font handler
        Load  "type1"           # Adobe Type 1 font handler
        Load  "freetype"         # TrueType font handler
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "Xkbdisable"
        Option      "XkbLayout" "jp"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
        Identifier  "Mouse9"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "IMPS/2"
        Option      "ZAxisMapping" "4 5"
        Option      "AlwaysCore"
EndSection

Section "Monitor"
        Identifier "LCD Panel 1024x768"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 31.5-90
        VertRefresh 60
        Option "dpms"
EndSection

Section "Monitor"
        Identifier "LCD SyncMaster 213T"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 61.5-81.0
        VertRefresh 59.0-76.0
        Option "dpms"
EndSection

Section "Monitor"
        Identifier "LCD Sony SDM-S204"
        VendorName "Sony"
        ModelName  "SDM-S204"
        Displaysize 410 310
        HorizSync 28.0-92.0
        VertRefresh 48.0-60.0
        Option "dpms"
EndSection

Section "Device"
        Identifier "ATI Radeon Mobility M6 0"
        Driver "radeon"
        BoardName "Unknown"
        Screen 0
        Option "AGPMode" "4"
        BusID "1:0:0"
EndSection

Section "Device"
        Identifier "ATI Radeon Mobility M6 1"
        Driver "radeon"
        BoardName "Unknown"
        Screen 1
        Option "hwcursor" "failse"
        BusID "1:0:0"
EndSection

Section "Device"
        Identifier "Linux Frame Buffer"
        Driver "fbdev"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "ATI Radeon Mobility M6 0"
        Monitor "LCD Panel 1024x768"
        DefaultDepth 16
        Subsection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device "ATI Radeon Mobility M6 1"
#       Monitor "LCD SyncMaster 213T"
        Monitor "LCD Sony SDM-S204"
        DefaultDepth 16
        Subsection "Display"
                Depth 16
                Modes "1600x1200"
                Modes "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection