搞了大半天终于可以双头显示了,我的/etc/X11/xorg.conf文件是
QUOTE: |
#xorg.conf(xorgXWindowSystemserverconfigurationfile)
#
#Thisfilewasgeneratedbydexconf,theDebianXConfigurationtool,using
#valuesfromthedebconfdatabase.
#
#Editthisfilewithcaution,andseethexorg.confmanualpage.
#(Type"manxorg.conf"attheshellprompt.)
#
#Thisfileisautomaticallyupdatedonxserver-xorgpackageupgrades*only*
#ifithasnotbeenmodifiedsincethelastupgradeofthexserver-xorg
#package.
#
#Ifyouhaveeditedthisfilebutwouldlikeittobeautomaticallyupdated
#again,runthefollowingcommand:
#sudodpkg-reconfigure-phighxserver-xorg
Section"Files"
EndSection
Section"InputDevice"
Identifier"GenericKeyboard"
Driver"kbd"
Option"CoreKeyboard"
Option"XkbRules""xorg"
Option"XkbModel""pc105"
Option"XkbLayout""us"
EndSection
Section"InputDevice"
Identifier"ConfiguredMouse"
Driver"mouse"
Option"CorePointer"
Option"Device""/dev/input/mice"
Option"Protocol""ImPS/2"
Option"ZAxisMapping""45"
Option"Emulate3Buttons""true"
EndSection
Section"InputDevice"
Identifier"SynapticsTouchpad"
Driver"synaptics"
Option"SendCoreEvents""true"
Option"Device""/dev/psaux"
Option"Protocol""auto-dev"
Option"HorizEdgeScroll""0"
EndSection
Section"InputDevice"
Driver"wacom"
Identifier"stylus"
Option"Device""/dev/input/wacom"
Option"Type""stylus"
Option"ForceDevice""ISDV4"#TabletPCONLY
EndSection
Section"InputDevice"
Driver"wacom"
Identifier"eraser"
Option"Device""/dev/input/wacom"
Option"Type""eraser"
Option"ForceDevice""ISDV4"#TabletPCONLY
EndSection
Section"InputDevice"
Driver"wacom"
Identifier"cursor"
Option"Device""/dev/input/wacom"
Option"Type""cursor"
Option"ForceDevice""ISDV4"#TabletPCONLY
EndSection
Section"Device"
Identifier"0ATITechnologiesIncM22[MobilityRadeonX300]"
Boardname"ati"
Busid"PCI:1:0:0"
Driver"fglrx"
Screen0
EndSection
Section"Monitor"
Identifier"GenericMonitor"
Option"DPMS"
EndSection
Section"Device"
Identifier"1ATITechnologiesIncM22[MobilityRadeonX300]"
Boardname"ati"
Busid"PCI:1:0:0"
Driver"fglrx"
Screen1
EndSection
Section"Monitor"
Identifier"GenericMonitor"
Option"DPMS"
EndSection
Section"Screen"
Identifier"DefaultScreen"
Device"0ATITechnologiesIncM22[MobilityRadeonX300]"
Monitor"GenericMonitor"
Defaultdepth24
SubSection"Display"
Depth1
Modes"1400x1050"
EndSubSection
SubSection"Display"
Depth4
Modes"1400x1050"
EndSubSection
SubSection"Display"
Depth8
Modes"1400x1050"
EndSubSection
SubSection"Display"
Depth15
Modes"1400x1050"
EndSubSection
SubSection"Display"
Depth16
Modes"1400x1050"
EndSubSection
SubSection"Display"
Depth24
Modes"1400x1050"
EndSubSection
EndSection
Section"Screen"
Identifier"SecondScreen"
Device"1ATITechnologiesIncM22[MobilityRadeonX300]"
Monitor"GenericMonitor"
Defaultdepth24
SubSection"Display"
Depth1
Modes"1280x1024""800x600""640x480"
EndSubSection
SubSection"Display"
Depth4
Modes"1280x1024""800x600""640x480"
EndSubSection
SubSection"Display"
Depth8
Modes"1280x1024""800x600""640x480"
EndSubSection
SubSection"Display"
Depth15
Modes"1280x1024""800x600""640x480"
EndSubSection
SubSection"Display"
Depth16
Modes"1280x1024""800x600""640x480"
EndSubSection
SubSection"Display"
Depth24
Modes"1280x1024""800x600""640x480"
EndSubSection
EndSection
Section"ServerLayout"
Identifier"DefaultLayout"
screen0"DefaultScreen"00
screen1"SecondScreen"leftof"DefaultScreen"
Inputdevice"GenericKeyboard"
Inputdevice"ConfiguredMouse"
#Uncommentifyouhaveawacomtablet
#InputDevice"stylus""SendCoreEvents"
#InputDevice"cursor""SendCoreEvents"
#InputDevice"eraser""SendCoreEvents"
Inputdevice"SynapticsTouchpad"
EndSection
Section"Module"
Load"glx"
Load"dbe"
Load"v4l"
EndSection
Section"ServerFlags"
Option"Xinerama""true"
EndSection
#Section"DRI"
#Mode0666
#EndSection
Section"Extensions"
Option"Composite""1"
EndSection
和网上的有点不同;如果不能正常显示,就在进程中加入
echofglrx|sudotee-a/etc/modules
调用fglrx。
但是鼠标还是不能正常显示,在第二个显示器上是个方块,再想办法。
下载本文示例代码
阅读(156) | 评论(0) | 转发(0) |