如何强制我的电脑使用xorg.conf文件?我已经正确地设置了它,它位于etc/x11/xorg.conf,但是它被启动时忽略了,我知道当我使用nvidia-设置创建它时,文件是有效的。我只是不知道它为什么会被忽视。
谢谢你的帮助
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 "Vestel 40 FHD_LCD-TV"
HorizSync 15.0 - 46.0
VertRefresh 49.0 - 61.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 650"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "1920x1080_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
发布于 2014-10-29 18:07:20
我和Gnome Shell也有同样的问题: 3.8 / 3.10 / 3.12:
来自这个答案:
如果这不起作用,还会有其他东西覆盖您的设置。可能是您的桌面环境。作为一种解决办法,您可以使用这个脚本:#!/bin/bashlew10 xrandr -输出DVI-D-0 -模式1920x1080回显“脚本被运行”需要
sleep
,以确保桌面环境在运行脚本之前已经完成。这样,您就知道它将在DE重新配置您的屏幕之后运行。使脚本可执行,并将其添加到启动应用程序中。这应该能起作用。
https://askubuntu.com/questions/514397
复制相似问题