设置外接显示器的问题

CPU/显卡/打印机/USB设备等硬件问题
回复
考试的烦恼
帖子: 84
注册时间: 2006-11-09 7:53
联系:

设置外接显示器的问题

#1

帖子 考试的烦恼 » 2007-06-21 16:56

笔记本是宽屏的,因为要外接投影仪,所以想设置一下,可是两台显示器总是不能像windows那样两边都是正常显示,贴一下Xorg的内容,请哪位大虾帮着指正一下,谢谢。
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/share/fonts/wenquanyi/wqy-bitmapfont/"
EndSection

Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/input/wacom"
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "eraser"
# Option "Device" "/dev/input/wacom"
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/input/wacom"
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection

Section "Device"
Identifier "Intel0"
Driver "i810"
BusID "PCI:0:2:0"
Screen 0
Option "MonitorLayout" "CRT,LFP"
Option "DRI" "true"
EndSection

Section "Device"
Identifier "intel1"
Driver "i810"
BusID "PCI:0:2:0"
Screen 1
Option "MonitorLayout" "CRT,LFP"
EndSection

Section "Monitor"
Identifier "internal"
Option "DPMS"
# HorizSync 28-75
# VertRefresh 43-100
EndSection

Section "Monitor"
Identifier "external"
Option "DPMS"
EndSection

Section "Screen"
Identifier "builtinlcd"
Device "Intel0"
Monitor "internal"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "Screen"
Identifier "externallcd"
Device "intel1"
Monitor "external"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Xinerama"
#Screen 0 "builtinlcd" 0 0
#Screen 1 "externallcd" LeftOf "builtinlcd"
Screen 0 "builtinlcd" 0 0
Screen 1 "externallcd"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
#InputDevice "stylus" "SendCoreEvents"
#InputDevice "cursor" "SendCoreEvents"
#InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
Option "Xinerama" "true"
#Option "Clone" "on"
EndSection

Section "DRI"
Mode 0666
EndSection

#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-06-21 21:58

Section "Device"
Identifier "nVIDIA GeForce FX Go7300"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TripleBuffer" "true" # beryl

Option "TwinView" "on"
#Option "MetaModes" "1280x800,1024x768"
Option "MetaModes" "1024x768,1280x800" # 外接屏幕分辨率在前面(主界面)。
#Option "SecondMonitorHorizSync" "28-51"
#Option "SecondMonitorVertRefresh" "43-60"
Option "TwinViewOrientation" "Leftof" # 内置屏幕位置
# "LeftOf" "RightOf" "Above" "Below" "Clone"

EndSection


参考。建议使用驱动厂家带的设置界面。
比如nvidia-settings
● 鸣学
考试的烦恼
帖子: 84
注册时间: 2006-11-09 7:53
联系:

#3

帖子 考试的烦恼 » 2007-06-22 21:50

eexpress 写了:Section "Device"
Identifier "nVIDIA GeForce FX Go7300"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TripleBuffer" "true" # beryl

Option "TwinView" "on"
#Option "MetaModes" "1280x800,1024x768"
Option "MetaModes" "1024x768,1280x800" # 外接屏幕分辨率在前面(主界面)。
#Option "SecondMonitorHorizSync" "28-51"
#Option "SecondMonitorVertRefresh" "43-60"
Option "TwinViewOrientation" "Leftof" # 内置屏幕位置
# "LeftOf" "RightOf" "Above" "Below" "Clone"

EndSection


参考。建议使用驱动厂家带的设置界面。
比如nvidia-settings
你那是nvdia的,我这是intel的,intel的就只有一个810,一个intel驱动。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2007-06-23 18:18

你就测试下这些参数。需要加一个显示器的段定义,可以用系统的帮助,搜索xorg.conf的参数配置。在X的层面上,这些参数应该是通用的。

Option "TwinViewOrientation" "Leftof" # 内置屏幕位置
● 鸣学
回复