我有一个使用专有Nvidia驱动程序的双监视器设置。似乎在OS启动时使用了正确的设置(在登录提示符处它看起来很好),但是当我登录时,我的双montior的设置被重置,第二个监视器的位置不正确(应该设置在主监视器的右侧)。
我将xorg.conf从/etc/X11目录和AFAIK中删除,系统中唯一的一个是/usr/share/x11/xorg.conf(我检查了/var/log/Xorg.0.log,它说它正在使用/usr/share/x11/xorg.conf/)。
以下是设置:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 310.14 (buildd@aatxe) Tue Oct 16 22:21:09 UTC 2012
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2311H"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS 512"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "MetaModeOrientation" "CRT-1 RightOf DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection系统信息:
发布于 2013-08-04 18:54:53
以下是该问题的解决办法:
Option "MetaModeOrientation" "CRT RightOf DFP"发布于 2013-08-03 18:21:15
以root用户的身份运行nvidia-设置:
gksu nvidia-settings
按需要设置双监视器(克隆或扩展),并使用/etc/X11/xorg.conf中的“保存X配置文件”保存配置
如果您不确定,请在编辑该文件之前先对这样的文件进行备份:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup在最坏的情况下,您可以从从终端执行此操作的备份中恢复:
sudo cp /etc/X11/xorg.conf_backup /etc/X11/xorg.conf祝好运!
https://askubuntu.com/questions/328280
复制相似问题