How to create xorg.conf
From FedoraProject
(Added admon to warn about the deprecation of the system-config-display package in F14) |
(remove system-config-display stuff, it's no longer applicable) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Fedora releases since {{FedoraVersion|long|10}} do not create a {{filename|/etc/X11/xorg.conf}} file, used to configure the X server, by default. The X configuration is automatically determined each time X is started. In most cases, this works well and there is no need to manually specify X configuration information. | Fedora releases since {{FedoraVersion|long|10}} do not create a {{filename|/etc/X11/xorg.conf}} file, used to configure the X server, by default. The X configuration is automatically determined each time X is started. In most cases, this works well and there is no need to manually specify X configuration information. | ||
| − | If you need to make manual changes to X configuration for any reason, you will first need to create a {{filename|/etc/X11/xorg.conf}} file | + | If you need to make manual changes to X configuration for any reason, you will first need to create a {{filename|/etc/X11/xorg.conf}} file. |
| − | == | + | == Xorg -configure == |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | You can create a basic {{filename|xorg.conf}} using the X executable itself. As root run: | |
| − | |||
<pre> | <pre> | ||
| − | Xorg -configure | + | Xorg :1 -configure |
</pre> | </pre> | ||
This will create the file {{filename|/root/xorg.conf.new}}, which you can then copy to {{filename|/etc/X11/xorg.conf}}: | This will create the file {{filename|/root/xorg.conf.new}}, which you can then copy to {{filename|/etc/X11/xorg.conf}}: | ||
| Line 25: | Line 14: | ||
cp /root/xorg.conf.new /etc/X11/xorg.conf | cp /root/xorg.conf.new /etc/X11/xorg.conf | ||
</pre> | </pre> | ||
| − | and edit according to your needs | + | and edit according to your needs. |
Latest revision as of 22:57, 6 August 2011
Fedora releases since Fedora 10 do not create a /etc/X11/xorg.conf file, used to configure the X server, by default. The X configuration is automatically determined each time X is started. In most cases, this works well and there is no need to manually specify X configuration information.
If you need to make manual changes to X configuration for any reason, you will first need to create a /etc/X11/xorg.conf file.
[edit] Xorg -configure
You can create a basic xorg.conf using the X executable itself. As root run:
Xorg :1 -configure
This will create the file /root/xorg.conf.new, which you can then copy to /etc/X11/xorg.conf:
cp /root/xorg.conf.new /etc/X11/xorg.conf
and edit according to your needs.