|
|
intel集成显卡,xorg升级以前用i810驱动,使用Xinerama即可。
但是升级xorg之后,驱动只能用intel了,而Xinerama不能用了。
听某位仁兄介绍说xrandr,找了一下资料,确实可以。不过却不能把程序从主显示器拖动到扩展显示器上。附xorg.conf
- Section "ServerLayout"
- Identifier "Xorg Configured"
- Screen 0 "Screen0" 0 0
- # Serial Mouse not detected
- # USB Mouse not detected
- EndSection
- Section "ServerFlags"
- Option "AllowMouseOpenFail" "true"
-
- EndSection
- Section "Files"
- ModulePath "/usr/lib/xorg/modules"
- FontPath "/usr/share/fonts/misc:unscaled"
- FontPath "/usr/share/fonts/misc"
- FontPath "/usr/share/fonts/75dpi:unscaled"
- FontPath "/usr/share/fonts/75dpi"
- FontPath "/usr/share/fonts/100dpi:unscaled"
- FontPath "/usr/share/fonts/100dpi"
- FontPath "/usr/share/fonts/PEX"
- # Additional fonts: Locale, Gimp, TTF...
- FontPath "/usr/share/fonts/cyrillic"
- # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
- # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
- # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
- FontPath "/usr/share/fonts/Type1"
- FontPath "/usr/share/fonts/ttf/western"
- FontPath "/usr/share/fonts/ttf/decoratives"
- FontPath "/usr/share/fonts/truetype"
- FontPath "/usr/share/fonts/truetype/openoffice"
- FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
- FontPath "/usr/share/fonts/latex-ttf-fonts"
- FontPath "/usr/share/fonts/defoma/CID"
- FontPath "/usr/share/fonts/defoma/TrueType"
- FontPath "/usr/share/fonts/wqy-unibit"
- EndSection
- Section "Module"
- Load "ddc" # ddc probing of monitor
- Load "dbe"
- Load "dri"
- Load "extmod"
- Load "glx"
- Load "bitmap" # bitmap-fonts
- Load "type1"
- Load "freetype"
- Load "record"
- # Load "synaptics"
- EndSection
- # Auto-generated by Archie mkxcfg
- Section "Monitor"
- Identifier "Monitor0"
- # Option "Above" "Monitor1"
- EndSection
- # Auto-generated by Archie mkxcfg
- Section "Device"
- Identifier "Card0"
- Driver "intel"
- # BusID "PCI:0:2:0"
- # Option "LVDS" "Monitor0"
- # Option "VGA" "Monitor1"
- # Screen 0
- EndSection
- Section "Screen"
- Identifier "Screen0"
- Device "Card0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Depth 24
- Modes "1024x768" "1280x1024"
- Virtual 2048 768
- EndSubSection
- EndSection
- Section "DRI"
- Mode 0666
- EndSection
复制代码 |
|