双显屏的各自分辨率:
hdmi 作为主屏 分辨率为1920x1080
lcd 作为副屏 分辨率为1024x768
鼠标可以在两屏随意移动
下面是 xorg.conf的设置
Section "ServerFlags"
Option "Xinerama" "true"
Option "DontZap"
EndSection
Section "Extensions"
#Option "Composite" "Enable"
Option "Composite" "Disable"
Option "RENDER" "Enable"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "AOU"
ModelName "U133WA"
HorizSync 31.5 - 64.3
VertRefresh 50 - 90
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "LG"
ModelName "TV42"
HorizSync 21.5 - 63.4
VertRefresh 50 - 90
Option "DPMS"
EndSection
Section "Device"
identifier "LCD"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection
Section "Device"
Identifier "HDMI"
Driver "fbdev"
Option "fbdev" "/dev/fb6"
EndSection
Section "Screen"
Identifier "Screen0"
Device "LCD"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1360x768"
Virtual 2720 768
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen1"
Device "HDMI"
Monitor "Monitor1"
DefaultDepth 16
EndSection
Section "ServerLayout"
Identifier "Dual-Monitor"
Screen 0 "Screen1" 0 0
Screen 1 "Screen0" RightOf "Screen1"
EndSection
etc/X11/xorg.conf
遗留问题 HDMI的分辨率不能动态调节