Separate Wmii instances on Matrox Millennium G450 DualHead on 8.04

Bryan Peters gnuisancev3 at archlinux.us
Mon May 18 15:11:42 UTC 2009


Not quite sure what i'm doing wrong here. I want 2 separate instances
of wmii running on my dual monitor setup. I'm not concerned about
dragging windows from screen to screen, but I am concerned with each x
server being able to accept my mouse and keyboard commands.

It seems no matter what I do, my Secondary screen on the right of me
can interact fully with my mouse and keyboard, but the primary screen
in front of me can only interact with the mouse. It will not accept
any keyboard commands. And while the mouse can be dragged over to that
screen, it will not click on 'nil'. Mod+P doesn't work on the primary
screen to bring up dmenu, I can't open a terminal there, nothing.

I've created an ~/.xinitrc file and placed the following in it:


DISPLAY=:0.0 wmii &
DISPLAY=:0.1 exec wmii

I've played with it and changed it around a few times:
Code:

DISPLAY=:0.0 wmii &
DISPLAY=:0.1 exec wmii &

and this:

DISPLAY=:0.0 wmii &
DISPLAY=:0.1 wmii &

but those didn't work either.

Here's the relevant parts of my /etc/X11/xorg.conf



Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
EndSection

Section "Device"
    Identifier    "0 Matrox Millenium G450 DualHead"
    Driver        "mga"
    BusID        "PCI:1:0:0"
    Screen        0
    Option        "DDCMode"        "True"
    Option         "AGPMode"         "4"
EndSection

Section "Device"
    Identifier    "1 Matrox Millenium G450 DualHead"
    Driver        "mga"
    BusID        "PCI:1:0:0"
    Screen        1
    Option        "DDCMode"        "True"
    Option         "AGPMode"         "4"
EndSection

Section "Monitor"
    Identifier    "Sun"
    Option        "DPMS"
    HorizSync    30-121
    VertRefresh    48-160
EndSection

Section "Monitor"
    Identifier    "N9 LCD"
    Option        "DPMS"
    HorizSync    30-79
    VertRefresh    56-75
EndSection

Section "Screen"
    Identifier    "Primary Screen"
    Device        "0 Matrox Millenium G450 DualHead"
    Monitor        "Sun"
    DefaultDepth    24
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1600x1200" "1280x1024" "1280x960" "1152x864"
"1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Secondary Screen"
    Device        "1 Matrox Millenium G450 DualHead"
    Monitor        "N9 LCD"
    DefaultDepth    24
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
    EndSubSection
EndSection

#Section "ServerLayout"
#    Identifier    "Xinerama Layout"
#    Screen        0 "Primary Screen"
#    Screen        1 "Secondary Screen" RightOf "Primary Screen"
#    InputDevice    "Generic Keyboard"
#    InputDevice    "Configured Mouse"
#    Option        "Xinerama" "True"
#EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         0 "Primary Screen"
    Screen         1 "Secondary Screen" RightOf "Primary Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "DRI"
    Mode    0666
EndSection




More information about the ubuntu-users mailing list