xorg.conf


Section "Module"
Load "dri"
EndSection

Section "dri"
        Group "video"
        Mode 0666
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "en,ru"
        Option      "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:caps"
EndSection


Section "InputClass"
    Identifier      "Touchpad"
    Driver          "synaptics"
    MatchIsTouchpad "yes"
    Option      "MinSpeed" "0.5"
    Option      "MaxSpeed" "0.75"
    Option      "AccelFactor" "0.075"
    Option      "TapButton1" "1"
    Option      "TapButton2" "2"     # multitouch
    Option      "TapButton3" "3"     # multitouch
    Option      "VertTwoFingerScroll" "1"     # multitouch
    Option      "HorizTwoFingerScroll" "1"     # multitouch
    Option      "VertEdgeScroll" "1"
    Option      "CoastingSpeed" "8"
    Option      "CornerCoasting" "1"
    Option      "CircularScrolling" "1"
    Option      "CircScrollTrigger" "7"
    Option      "EdgeMotionUseAlways" "1"
    Option      "PalmDetect" "1"
EndSection

Section "Monitor"
    Identifier   "Monitor-0"
    Option      "VendorName" "ATI Proprietary Driver"
    Option      "ModelName" "Generic Autodetecting Monitor"
EndSection


# Тут идёт основная конфигурация мониторов

Section "Monitor"
    Identifier   "0-LVDS"
    Option      "VendorName" "ATI Proprietary Driver"
    Option      "ModelName" "Generic Autodetecting Monitor"
    Option      "PreferredMode" "1366x768"
    Option      "TargetRefresh" "60"
    #Option     "Position" "1600 18"
    Option      "Rotate" "normal"
    Option      "Disable" "false"
    Option      "RightOf" "0-VGA-0"
EndSection

Section "Monitor"
    Identifier   "0-VGA-0"
    Option      "VendorName" "ATI Proprietary Driver"
    Option      "ModelName" "Generic Autodetecting Monitor"
    Option      "PreferredMode" "1600x900"
    Option      "TargetRefresh" "60"
    #Option     "Position" "0 0"
    Option      "Rotate" "normal"
    Option      "Disable" "false"
    Option      "Primary" "false"
    Option      "LeftOf" "0-LVDS"
EndSection

Section "Device"
    Identifier  "Device-0"
    Driver      "radeon"
    Option      "Monitor-LVDS" "0-LVDS"
    Option      "Monitor-VGA-0" "0-VGA-0"
    BusID       "PCI:1:0:0"
    Option "AccelMethod" "EXA"
EndSection

Section "Device"
    Identifier  "Device-1"
    Driver      "radeon"
    Option      "Monitor-LVDS" "0-LVDS"
    BusID       "PCI:1:0:0"
    Screen      1
    Option "AccelMethod" "EXA"
EndSection

Section "Screen"
    Identifier "Screen-0"
    Device     "Device-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Virtual   2968 2968
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen-1"
    Device     "Device-1"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Запускается вся эта радость с помощью xrandr:

xrandr --output LVDS --primary --auto --right-of VGA-0
comments powered by Disqus