[linux] 2 monitory v X

Bohdan Spes spes na pobox.sk
Neděle Září 19 15:15:38 CEST 2004


Ahoj.

Takze to co potrebujes je Xinerama.  V ServerLayout sekcii v xorg.conf 
(XFree86.con) musis mat Option "Xinerama" "on. 

Pozri  si moj config.


Bohdan

On Thursday 16 September 2004 18:09, Matthew wrote:
> mam pusteni (asi) len 1 xserver.
>
> momentalne vidim na obidvoch monitoroch to iste.
>
> v m$ shite to ide bez problemov - len si nastavim "extended desktop" - a
> sprava sa to ako jedna velka plocha.
>
> Ale necham si poradit - co myslis ze je lepsie mat 2 xservery alebo jednu
> velku plochu?
>
> neviem ci od toho nieco zavisy, ale pouzivam icewm.
>
>
> ----- Original Message -----
> From: "Juraj Bednar" <juraj na bednar.sk>
> To: "Vseobecna diskusia o Linuxe" <linux na lists.linux.sk>
> Sent: Thursday, September 16, 2004 6:03 PM
> Subject: Re: [linux] 2 monitory v X
>
> > Ahoj,
> >
> >> Mam pripojene 2 monitory. Ako dosiahnem aby som mal na kazdom inu
> >> pracovnu
> >> plochu, teda na jednom napr. 1 a na druhom 2.?
> >> Kde si nastavim pohyb mysi a ich vzajomnu poziciu cez takyto "extended
> >> desktop"?
> >
> > nepovedal si, ako ich mas sprevadzkovane. Bezis dva xserveri alebo
> > pouzivas cineramu? Ak cineramu, tak by to malo byt automaticke (teda do
> > tej miery, ze vsetko je jedna spolocna plocha)...
> >
> >
> > J.
> >
> > _______________________________________________
> > http://lists.linux.sk/listinfo/linux
> > Prehladavanie archivu: http://search.lists.linux.sk
> > Meta FAQ: http://faq.lists.linux.sk
>
> _______________________________________________
> http://lists.linux.sk/listinfo/linux
> Prehladavanie archivu: http://search.lists.linux.sk
> Meta FAQ: http://faq.lists.linux.sk
------------- další část ---------------
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    Option "DefaulServerLayout" "LCD"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    #Load "v4l" # Video for Linux
    Load "synaptics"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "hpxe4xxx"
#    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,sk_qwerty"
#    Option "XkbLayout" "sk_qwerty"
    Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
  Identifier    "Mouse1"
  Driver        "synaptics"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "IMPS/2"
#  Option        "LeftEdge"      "1700"
#  Option        "RightEdge"     "5300"
#  Option        "TopEdge"       "1700"
#  Option        "BottomEdge"    "4200"
#  Option        "FingerLow"     "25"
#  Option        "FingerHigh"    "30"
#  Option        "MaxTapTime"    "180"
#  Option        "MaxTapMove"    "220"
#  Option        "VertScrollDelta" "100"
#  Option        "MinSpeed"      "0.06"
#  Option        "MaxSpeed"      "0.12"
#  Option        "AccelFactor" "0.0010"
#  Option        "SHMConfig"     "off"
##  Option       "Repeater"      "/dev/ps2mouse"
EndSection

#Section "InputDevice"
#  Driver       "synaptics"
#  Identifier   "Mouse1"
#  Option       "AccelFactor" "0.0010"
#  Option       "BottomEdge" "4000"
#  Option       "Device" "/dev/psaux"
#  Option       "Edges" "1900 5400 1800 3900"
#  Option       "Emulate3Buttons" "on"
#  Option       "Finger" "25 30"
#  Option       "FingerHigh" "30"
#  Option       "FingerLow" "25"
#  Option       "InputFashion" "Mouse"
#  Option       "LeftEdge" "1900"
#  Option       "MaxSpeed" "0.18"
#  Option       "MaxTapMove" "220"
#  Option       "MaxTapTime" "180"
#  Option       "MinSpeed" "0.02"
#  Option       "Name" "Synaptics;Touchpad"
#  Option       "RightEdge" "5400"
#  Option       "SHMConfig" "on"
#  Option       "TopEdge" "1900"
#  Option       "VertScrollDelta" "100"
#  Option       "ZAxisMapping" "4 5"
#  Option       "CorePointer"
#EndSection

#Section "InputDevice"
#  Driver       "mouse"
#  Identifier   "Mouse2"
#  Option       "Device" "/dev/input/mice"
##  Option       "Emulate3Buttons" "on"
##  Option       "Emulate3Timeout" "50"
#  Option       "InputFashion" "Mouse"
#  Option       "Protocol" "imps/2"
#  Option       "Vendor" "Sysp"
#  Option       "ZAxisMapping" "4 5"
#  Option       "SendCoreEvents" "yes"
#EndSection


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


#  InputDevice "Mouse[1]"  "CorePointer"

#   Note! You can not have more than one core pointer, so if you want
#   to use an external mouse too, you have to set all mouse input
#   devices except one to "AlwaysCore" instead of "CorePointer".
#
#   b) Try to start the X server with 'startx -- -logverbose 8' for

Section "Monitor"
    Identifier "lcd"
    VendorName "Generic"
    ModelName "Flat Panel 1400x1050"
    HorizSync 31.5-90
    VertRefresh 59-75
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    #ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    #ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    #ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Monitor"
    Identifier "crt"
    VendorName "jjjjjj"
    ModelName "jjjkkkl"
    HorizSync 30-96
    VertRefresh 50-160

#    Modeline "1280x1024"  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync
    
EndSection

Section "Device"
    Identifier "radeon1"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID  "PCI:1:0:0"
    Option "AGPFastWrite" "on"
    Option "EnablePageFlip" "on"
    Option "PanelOff" "off"
    Option "DPMS"
    Option "DDCMode" "off"
    Option "CloneDisplay" "0"
    Screen 1
EndSection

Section "Device"
    Identifier "radeon2"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID  "PCI:1:0:0"
    Option "AGPFastWrite" "on"
    Option "EnablePageFlip" "on"
    Option "PanelOff" "off"
    Option "DPMS"
    Option "DDCMode" "on"
    Option "IgnoreEDID" "off"
    Option "CloneDisplay" "1"
    Option "CloneHSync" "30-96"
    Option "CloneVRefresh" "50-160"
    #Option "CloneMode" "1280x1024"
    Option "CloneMode" "1400x1050"
    Screen 0
EndSection

Section "Device"
    Identifier "radeon3"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID  "PCI:1:0:0"
    Option "AGPFastWrite" "on"
    Option "EnablePageFlip" "on"
    Option "PanelOff" "on"
    Option "DPMS"
    Option "DDCMode" "on"
    Option "CloneDisplay" "1"
    Option "CloneHSync" "30-96"
    Option "CloneVRefresh" "50-160"
    Option "CloneMode" "1280x1024"
    Screen 0
EndSection

Section "Device"
    Identifier "radeon4"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID  "PCI:1:0:0"
    Option "AGPFastWrite" "on"
    Option "EnablePageFlip" "on"
    Option "PanelOff" "off"
    Option "DPMS"
    Option "DDCMode" "off"
#    Option "CloneDisplay" "0"
    Screen 0
EndSection


Section "Screen"
    Identifier "screen1"
    Device "radeon1"
    Monitor "lcd"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 24
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "radeon2"
    Monitor "crt"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 24
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen3"
    device "radeon3"
    Monitor "crt"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen4"
    Device "radeon4"
    Monitor "lcd"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 24
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "LCD"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse2" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
    Screen "screen4" 0 0
    Option "Xinerama" "off"
EndSection

Section "ServerLayout"
    Identifier "CRT"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse2" "CorePointer"
    InputDevice "Mouse1" "AlwaysCore"
#    InputDevice "Mouse1" "SendCoreEvents"   # toto je ekvivalentne riadku nadtym
    Screen "screen3" 0 0
    Option "Xinerama" "off"
EndSection

Section "ServerLayout"
    Identifier "xin"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse2" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
    Option "Xinerama" "on"
    Screen "screen1" 0 0
    Screen "screen2" LeftOf "screen1"
EndSection



Další informace o konferenci linux