X.org配置文件在哪里? 如何在那里配置X?
由于Ubuntu 10.10似乎既不会自动检测我的显卡(Intel 82852 / 855GM),也不会在手动安装后使用相应的Intel驱动程序,我正在研究手动配置X(不应该我?)。 我在哪里可以找到需要编辑的配置文件?
默认情况下,xorg.conf不再存在。 你可以创建一个。
启动进入恢复模式并选择Root Shell。 然后运行:
X -configure
然后:
cp /root/xorg.conf.new /etc/X11/xorg.conf
重新启动,您可以编辑新的Xorg.conf。
配置文件位于/usr/share/X11/xorg.conf.d
他们是:
10 evdev.conf
11-了evdev-quirks.conf
50 vmmouse.conf
50 wacom.conf
51-Synaptics的-quirks.conf
查看当前手册 。
如果您创建xorg.conf文件, 则以该文件的配置为准。
还要检查这个答案 。
通常,您不再需要xorg.conf
了。
如果您还需要配置某些设备,可以将文件放在/usr/lib/X11/xorg.conf.d/
10.04)或/usr/share/X11/xorg.conf.d/
(自Ubuntu 10.10起)。 此目录中已有一些文件。
您可以在xorg.conf.d上找到更多信息(德语,但配置文件当然是英文版)。 重要的是文件名应以大于10的两位数字开头。
另一本指南 – 英文版 – 是关于x org档案的 。 它仍在使用/ usr / lib,但它很好。
cookiecaper的建议使用
sudo X :1 -configure
为我工作 – 就在桌面上! 它最终错误输出,但在我的主目录中提供一个不错的新的xorg.conf.new之前。 谢谢cc! 我尝试过的所有其他建议都无法生成文件。
哦,顺便说一下,
man xorg.conf
在终端中将提供一堆有用的,最新的信息(可能有点简洁)来编辑xorg.conf文件。
是的,对于大多数免费的图形驱动程序,最新版本的Ubuntu不需要xorg.conf文件。 你可以很容易地生成一个:
sudo Xorg -configure
Nvidia Optimus(Bumblebee)没有任何特殊配置,只有默认值:
#!/bin/bash # # Source: https://bbs.archlinux.org/viewtopic.php?id=140315 # r=`zenity --width 400 --height 250 --title "Display setup" --text "Choose display mode:" --list --column "Modes" "Internal" "External" "Clone" "Extended"` case "$r" in Internal) xrandr --output LVDS1 --auto \ --output VGA1 --off ;; External) xrandr --output LVDS1 --off \ --output VGA1 --auto ;; Clone) xrandr --output LVDS1 --auto \ --output VGA1 --auto --same-as LVDS1 ;; Extended) xrandr --output LVDS1 --auto --primary \ --output VGA1 --auto --left-of LVDS1 ;; esac
监视器LVDS1和VGA1在〜/ .config / monitors.xml中定义。 有关monitors.xml的更多信息, 请访问http://www.sudo-juice.com/dual-monitor-settings-in-ubuntu/ 。
例:
no
对于丢失的amd用户:请注意,amd驱动程序提供了生成xorg.conf的工具
aticonfig --initial