X Dual Head: One big desktop?

From: Martin (nospam_at_example.org)
Date: 10/13/03


Date: Mon, 13 Oct 2003 00:31:54 +0100

In XF86Config, is there a way to get one big X desktop to strech across two
monitors?

I'm running a Matrox G400 card with 2 monitors under XFree86 4.3.0, on
FreeBSD 4.8. The XF86Config file below gives one desktop per monitor, and
it isn't possible to drag a window from one monitor to the other.

BTW, my present setup doesn't use any special drivers from Matrox. I just
installed FreeBSD 4.8 and CVSup'ed it to 4.8-RELENG. I see Matrox has some
special Linux drivers for the G400 but at first glance they didn't look
buildable on BSD.

Thanks for any info!

- Martin.

,----[ /etc/X11/XF86Config ]
|
| Section "Files"
|
| RgbPath "/usr/X11R6/lib/X11/rgb"
| FontPath "/usr/X11R6/lib/X11/fonts/local/"
| FontPath "/usr/X11R6/lib/X11/fonts/misc/"
| FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
| FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
| FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
| FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
| FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
| FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
| EndSection
|
| Section "Module"
|
| Load "dbe" # Double buffer extension
| SubSection "extmod"
| Option "omit xfree86-dga" # don't initialise the DGA extension
| EndSubSection
| Load "type1"
| Load "speedo"
| EndSection
|
| Section "InputDevice"
|
| Identifier "Keyboard1"
| Driver "Keyboard"
| Option "AutoRepeat" "500 30"
| Option "XkbRules" "xfree86"
| Option "XkbModel" "pc101"
| Option "XkbLayout" "gb"
| EndSection
|
| Section "InputDevice"
|
| Identifier "Mouse1"
| Driver "mouse"
| Option "Device" "/dev/psm0"
| EndSection
|
| Section "InputDevice"
| Identifier "Keyboard0"
| Driver "keyboard"
| Option "XkbModel" "pc101"
| Option "XkbLayout" "gb"
| EndSection
|
| Section "Monitor"
|
| Identifier "Nokia"
| HorizSync 31.5 - 82.0
| VertRefresh 40.0 - 150.0
| EndSection
|
| Section "Device"
| Identifier "G400_1"
| Driver "mga"
| BusID "PCI:1:0:0"
| Screen 0
| EndSection
|
| Section "Device"
| Identifier "G400_2"
| Driver "mga"
| BusID "PCI:1:0:0"
| Screen 1
| EndSection
|
| Section "Screen"
| Identifier "Screen 0"
| Device "G400_1"
| Monitor "Nokia"
| DefaultDepth 16
|
| Subsection "Display"
| Depth 8
| Modes "640x480" "800x600" "1024x768" "1280x1024"
| ViewPort 0 0
| EndSubsection
| Subsection "Display"
| Depth 16
| Modes "1024x768" "800x600" "640x480"
| ViewPort 0 0
| EndSubsection
| Subsection "Display"
| Depth 24
| Modes "640x480" "800x600" "1024x768" "1280x1024"
| ViewPort 0 0
| EndSubsection
| EndSection
|
| Section "Screen"
| Identifier "Screen 1"
| Device "G400_2"
| Monitor "Nokia"
| DefaultDepth 16
|
| Subsection "Display"
| Depth 8
| Modes "640x480" "800x600" "1024x768" "1280x1024"
| ViewPort 0 0
| EndSubsection
| Subsection "Display"
| Depth 16
| Modes "1024x768" "800x600" "640x480"
| ViewPort 0 0
| EndSubsection
| Subsection "Display"
| Depth 24
| Modes "640x480" "800x600" "1024x768" "1280x1024"
| ViewPort 0 0
| EndSubsection
| EndSection
|
| Section "ServerLayout"
|
| Identifier "Simple Layout"
|
| Screen "Screen 0" LeftOf "Screen 1"
| Screen "Screen 1"
|
| InputDevice "Mouse1" "CorePointer"
| InputDevice "Keyboard1" "CoreKeyboard"
|
| EndSection
`----



Relevant Pages

  • dual head on fedora
    ... When I go to display and select Dual Head I can setup the card resolution and Color Depth and the monitor, but even after reboot the second screen still doesn't show anything. ... Load "dri" EndSection ... Identifier "Keyboard0" Driver "kbd" ... Identifier "Monitor1" VendorName "Monitor Vendor" ...
    (Fedora)
  • Re: dual head on fedora
    ... When I go to display and select Dual Head I can setup the card resolution and Color Depth and the monitor, but even after reboot the second screen still doesn't show anything. ... Identifier "Multihead layout" Screen 0 "Screen0" LeftOf "Screen1" ... EndSection ... Identifier "Monitor1" VendorName "Monitor Vendor" ...
    (Fedora)
  • Re: Setting up a second monitor
    ... I want to use a second monitor as an extension of the ... EndSection ... Load "GLcore" ... Identifier "Generic Keyboard" ...
    (Ubuntu)
  • Re: S-Video to TV
    ... Identifier "X.org Configured" ... EndSection ... Load "extmod" ... EndSubSection ...
    (freebsd-questions)
  • [SLE] SaX2, Xorg, not playing nice with my HDTV over DVI
    ... "monitor" attached, no other display. ... EndSection ... EndSubSection ...
    (SuSE)