Update xorg.conf template for dual screen
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "Layout0"
|
||||
Screen 0 "Screen0"
|
||||
Screen 0 "Screen0" 0 0
|
||||
{% if xorg.secondary is defined %}
|
||||
Screen 1 "Screen1" RightOf "Screen0"
|
||||
{% endif %}
|
||||
#InputDevice "Keyboard0" "CoreKeyboard"
|
||||
#InputDevice "Mouse0" "CorePointer"
|
||||
Option "Xinerama" "0"
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
@@ -28,7 +29,7 @@ Section "Device"
|
||||
Identifier "Device0"
|
||||
Driver "nvidia"
|
||||
VendorName "NVIDIA Corporation"
|
||||
Option "NoLogo" "true"
|
||||
Option "NoLogo" "true"
|
||||
{% if xorg.primary.bus_id is defined %}
|
||||
BoardName "{{ xorg.primary.gpu_name }}"
|
||||
BusID "{{ xorg.primary.bus_id }}"
|
||||
@@ -44,7 +45,7 @@ Section "Screen"
|
||||
Monitor "Monitor0"
|
||||
DefaultDepth 24
|
||||
Option "nvidiaXineramaInfoOrder" "{{ xorg.primary.connector }}"
|
||||
Option "ConnectedMonitor" "{{ xorg.primary.connector }}"
|
||||
Option "ConnectedMonitor" "{{ xorg.primary.connector }}{% if xorg.secondary is defined %}, {{ xorg.secondary.connector }}{% endif %}"
|
||||
Option "UseDisplayDevice" "{{ xorg.primary.connector }}"
|
||||
Option "CustomEDID" "{{ xorg.primary.connector }}:/etc/X11/edid.{{ xorg.primary.connector }}.bin"
|
||||
Option "metamodes" "{{ xorg.primary.connector }}: {{ xorg.primary.mode }} +0+0"
|
||||
|
||||
Reference in New Issue
Block a user