Section "ServerLayout"
Identifier "X.org Configured"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Option "Xinerama" "false"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor-DP2"
# Option "PreferredMode" "1278x958_60.00"
# DisplaySize 336 284
Modeline "1280x1080_60.00" 114.84 1280 1360 1496 1712 1080 1081 1084 1118 -HSync +Vsync
Modeline "1280x960_60.00" 102.10 1280 1360 1496 1712 960 961 964 994 -HSync +Vsync
Modeline "1278x958_60.00" 101.00 1278 1360 1488 1696 958 961 971 994 -hsync +vsync
EndSection
Section "Monitor"
Identifier "Monitor-HDMI3"
Option "RightOf" "DP2"
# Option "PreferredMode" "1278x958_60.00"
# DisplaySize 336 284
Modeline "1280x1080_60.00" 114.84 1280 1360 1496 1712 1080 1081 1084 1118 -HSync +Vsync
Modeline "1280x960_60.00" 102.10 1280 1360 1496 1712 960 961 964 994 -HSync +Vsync
Modeline "1278x958_60.00" 101.00 1278 1360 1488 1696 958 961 971 994 -hsync +vsync
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
Option "ZaphodHeads" "DP2"
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
Screen 0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
Option "ZaphodHeads" "HDMI3"
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card1"
Driver "intel"
BusID "PCI:0:2:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor-DP2"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor-HDMI3"
EndSection
1 комментарий
Александр Смирнов
еще начиная с 1.6 есть возможность задавать
FlyDesktopX=0
FlyDesktopY=0
В многомониторной конфигурации они задают позицию области рабочего стола в массиве мониторов и их надо задавать с привязкой к конкретному монитору. Если не задать, то рабочий стол всегда располагается на primary мониторе.
Используя FlyDesktopX, FlyDesktopY, FlyDesktopWidth, FlyDesktopHeight можно отвести под рабочий стол даже часть монитора в одномониторной конфигурации.