环境:Ubuntu8.04 PC:Dell-Latitude-D500
打开xorg.conf
gksudo gedit /etc/X11/xorg.conf
修改Section “Device”如下:
Section "Device"
Identifier "Configured Video Device"
Option "TwinView" "True"
Option "TwinViewOrientation" "Clone"
Option "UseEdidFreqs" "True"
Option "Metamodes" "1024x768_60, 1024x768; 1024x768_60,800x600"
EndSection
保存。连接好投影仪,重新启动Xwindows(Ctrl+Alt+Backspace)就OK了。
我在网上查到的一篇文章是这样改的:
Section "Device"
Identifier "Videocard0"
Boardname "NVIDIA GeForce 8 Series"
Busid "PCI:1:0:0"
Option "NoLogo" "True" #不显示Nvidia的LOGO
Option "NoPowerConnectorCheck" "True"
Option "TwinView" "True" #打开双显支持,这个最重要;
Option "TwinViewOrientation" "Clone" #双显支持模式,clone是复制,就是说两个完全一致;
Option "UseEdidFreqs" "True"
Option "Metamodes" "1440x900_60,NULL;1440x900_60,1024x768" #这行也很重要,就是指明这两个设备的分辨率,逗号前的第一个是本机显示设备,逗号后的第二个是外部设备,分号分隔开多套模式,可以设两套方案或更多。
# Option "Metamodes" "1440x900_60,NULL;1440x900_60,800X600"
# Option "SecondMonitorHorizSync" "31-82"
# Option "SecondMonitorVertRefresh" "56-76"
Option "NoTwinViewXineramaInfo" "True"
Driver "nvidia"
Screen 0
Vendorname "NVIDIA"
BoardName "Quadro NVS 140M"
EndSection