CentOS外接显示器投影仪

89231441 2010-01-06

家里的上网本10英寸屏幕,太小,看电影需要效果,想接到大点的液晶上看,直接插上,本子没啥反应,搜索发现,需要费点时间配置下:需要添加一点配置到/etc/X11/xorg.conf 好让X11识别设备,配置好后的文件如下,添加 --- 说明的地方即为添加的配置信息:

#nvidia-xconfig:Xconfigurationfilegeneratedbynvidia-xconfig

#nvidia-xconfig:version1.0(buildmeister@builder63)FriAug1417:54:58PDT2009

Section"ServerLayout"

Identifier"Layout0"

Screen0"Screen0"00

InputDevice"Keyboard0""CoreKeyboard"

InputDevice"Mouse0""CorePointer"

Option"Xinerama""0"

EndSection

Section"Files"

FontPath"unix/:7100"

EndSection

Section"Module"

Load"dbe"

Load"type1"

Load"freetype"

Load"glx"

Load"extmod"

EndSection

Section"ServerFlags"

Option"Xinerama""0"

EndSection

Section"InputDevice"

#generatedfromdefault

Identifier"Mouse0"

Driver"mouse"

Option"Protocol""auto"

Option"Device""/dev/input/mice"

Option"Emulate3Buttons""yes"

Option"ZAxisMapping""45"

EndSection

Section"InputDevice"

#generatedfromdatain"/etc/sysconfig/keyboard"

Identifier"Keyboard0"

Driver"kbd"

Option"XkbLayout""us"

Option"XkbModel""pc105"

EndSection

Section"Monitor"

Identifier"Monitor0"

VendorName"Unknown"

ModelName"CMO"

HorizSync30.0-75.0

VertRefresh60.0

Option"DPMS"

EndSection

Section"Device"

Identifier"Device0"

Driver"nvidia"

VendorName"NVIDIACorporation"

BoardName"GeForce8400MG"

BusID"PCI:1:0:0"--默认没有这个,添加上。

EndSection

Section"Screen"

#RemovedOption"metamodes""1280x800_60+0+0"

#RemovedOption"metamodes""nvidia-auto-select+0+0"

Identifier"Screen0"

Device"Device0"

Monitor"Monitor0"

Option"AddARGBGLXVisuals""True"

DefaultDepth24

Option"NoLogo""True"

Option"TwinView""true"--默认是0,修改成true

Option"metamodes""1280x800+0+0"

SubSection"Display"

Depth24

EndSubSection

EndSection

==========

添加后,外接上显示器或者投影仪,登录时选在GNOME图形化登录,即可。

如果是需要连接投影仪,那就需要双屏(笔记本和投影仪)都能显示,而且显示的完全一样,必须添加如下(黑体为添加的):

Section "Screen"

Identifier"Screen0"

Device"Device0"

Monitor"Monitor0"

DefaultDepth24

Option"AddARGBGLXVisuals""True"

Option"TwinView""true"

Option"TwinViewOrientation""Clone"

Option"UseEdidFreqs""True"

#Option"metamodes""1280x800_60+0+0"

SubSection"Display"

Depth24

EndSubSection

EndSection

注:以上是nVidia下的配置,如果是ati,可能不大一样。

相关推荐