On Tue, Sep 23, 2003 at 09:50:02PM +0100, Geoff Whitbourn wrote: > I need help in configuring dual monitor operation. Newbie. RedHat 9. > Have tried the Xinerama Extensions Howto but am obviously not doing > something right. If anyone has succeeded and can let me have the > relevant config sections would be gratefull. Have two Sony G200 > monitors. Piece of cake in windows...
I have a G400 MAX and configured it as two screens (not merged/Xinerama) and run a window manager on each. I have attached my config and the scripts I use to start XFree86. Look especially at the ServerLayout part -- Ryan Underwood, <nemesis at icequake.net>, icq=10317253
Section "ServerLayout" Identifier "Dualhead" Screen "Screen 0" LeftOf "Screen 1" # Screen "Screen 0" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "pen1" "AlwaysCore" InputDevice "eraser1" "AlwaysCore" InputDevice "cursor1" "AlwaysCore" # Option "Xinerama" "true" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" # FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "tcp/fonts:7100" FontPath "/usr/X11R6/lib/X11/fonts/misc/" ModulePath "/usr/local/lib/mga" ModulePath "/usr/X11R6/lib/modules" EndSection Section "Module" Load "dbe" Load "extmod" #enable DGA (access /dev/mem directly) Load "type1" Load "freetype" Load "glx" Load "dri" Load "wacom" Load "v4l" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" Option "Samplerate" "200" EndSection Section "InputDevice" Identifier "pen1" Driver "wacom" Option "Type" "stylus" Option "Mode" "Relative" Option "Device" "/dev/ttyS0" Endsection Section "InputDevice" Identifier "eraser1" Driver "wacom" Option "Type" "eraser" Option "Mode" "Relative" Option "Device" "/dev/ttyS0" Endsection Section "InputDevice" Identifier "cursor1" Driver "wacom" Option "Type" "cursor" Option "Mode" "Relative" Option "Device" "/dev/ttyS0" Endsection Section "Monitor" Identifier "Hitachi SuperScan Elite 802" HorizSync 31.0 - 100.0 VertRefresh 50.0 - 160.0 EndSection Section "Monitor" Identifier "HP P1110" HorizSync 29.0 - 121.0 VertRefresh 50.0 - 160.0 ModeLine "1280x960" 135.00 1280 1376 1488 1800 960 961 964 1000 +HSync +VSync EndSection Section "Device" Identifier "Matrox Millennium G400MAX H0" VendorName "Matrox" # Driver "fbdev" # Option "fbdev" "/dev/fb0" Driver "mga" Option "AGPMode" "2" # openoffice workarounds # Option "XaaNoSolidFillRect" "True" # Option "XaaNoScreenToScreenColorExpandFill" "True" # mplayer xmga / mga_vid workaround for 2nd head corruption # VideoRam 24576 Option "DPMS" BusID "PCI:1:0:0" Screen 0 EndSection #Section "Device" # Identifier "Matrox Millennium G400MAX H1" # Driver "fbdev" # Option "fbdev" "/dev/fb1" # Option "DPMS" # Option "NoDDC" # BusID "PCI:1:0:0" # Screen 1 #EndSection Section "Device" Identifier "Matrox Millennium G400MAX H1" VendorName "Matrox" Driver "mga" Option "DPMS" Option "NoDDC" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen 0" Device "Matrox Millennium G400MAX H0" Monitor "Hitachi SuperScan Elite 802" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x960" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection SubSection "Display" Depth 16 Modes "1280x960" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection EndSection Section "Screen" Identifier "Screen 1" Device "Matrox Millennium G400MAX H1" Monitor "HP P1110" DefaultDepth 24 SubSection "Display" Depth 24 # Modes "1024x768" "800x600" "640x480" Modes "1280x960" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection SubSection "Display" Depth 16 Modes "1280x960" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection EndSection Section "DRI" Mode 0666 EndSection
#!/bin/sh licq & gabber & xmms & xset m 6 8 second-head-init exec icewm
#!/bin/sh icewm -display :0.1 2>&1 > /dev/null &