Fix Xorg.conf.

This commit is contained in:
Robert Krátký 2018-01-21 18:54:39 +01:00
parent 0cc9b70e08
commit 1cf0a1e595
6 changed files with 20 additions and 26 deletions

View file

@ -44,6 +44,8 @@ Topics:
File: understanding-and-administering-systemd File: understanding-and-administering-systemd
- Name: Creating RPM packages - Name: Creating RPM packages
File: creating-rpm-packages File: creating-rpm-packages
- Name: Configuring X Window System using the xorg.conf file
File: configuring-x-window-system-using-the-xorg-conf-file
- Name: (FIX ME!) Anaconda - Name: (FIX ME!) Anaconda
File: anaconda File: anaconda
- Name: (FIX ME!) AutoUpdates - Name: (FIX ME!) AutoUpdates
@ -56,8 +58,6 @@ Topics:
File: create-gpg-keys File: create-gpg-keys
- Name: (FIX ME!) How to create a GNU Hello RPM package - Name: (FIX ME!) How to create a GNU Hello RPM package
File: create-hello-world-rpm File: create-hello-world-rpm
- Name: Creating an xorg.conf file
File: create-xorg-conf.adoc
- Name: (FIX ME!) How to debug Dracut problems - Name: (FIX ME!) How to debug Dracut problems
File: debug-dracut-problems File: debug-dracut-problems
- Name: (FIX ME!) How to debug Systemd problems - Name: (FIX ME!) How to debug Systemd problems

View file

@ -0,0 +1,6 @@
[id='configuring-x-window-system-using-the-xorg-conf-file']
= Configuring X Window System using the xorg.conf file
include::modules/con_xorg-conf.adoc[leveloffset=+1]
include::modules/proc_creating_xorg_conf.adoc[leveloffset=+1]

View file

@ -1,9 +0,0 @@
[[xorg-conf]]
= The xorg.conf file
include::{md}/concept_xorg-conf.adoc[leveloffset=+1]
include::{md}/proc_creating_xorg_conf.adoc[leveloffset=+1]
See a typo, something missing or out of date, or anything else which can be
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.

View file

@ -0,0 +1,6 @@
[id='con_about-xorg-conf']
= About xorg.conf
Traditionally, the xorg.conf file is used to configure the X server. In Fedora, the X configuration is determined automatically each time X is started. As a result, no xorg.conf file is created. In most cases, this works well and there is no need to manually specify X configuration.
If you need to make manual changes to your X configuration for any reason, you will first need to create an `xorg.conf` file.

View file

@ -1,7 +0,0 @@
Traditionally, the xorg.conf file is used to configure the X server. In Fedora,
the X configuration is determined automatically each time X is started. As a
result, no xorg.conf file is created. In most cases, this works well and there
is no need to manually specify X configuration.
If you need to make manual changes to your X configuration for any reason,
you will first need to create an xorg.conf file.

View file

@ -1,18 +1,16 @@
[[creating-an-xorg-conf-file]] [[creating-an-xorg-conf-file]]
== Creating an Xorg.conf file = Creating an xorg.conf file
You can create a basic file using the `X` executable. It will contain sections and entries that you can edit to suit your needs. To create the file, enter this command as *root*:
You can create a basic file using the X executable. It will contain sections
and entries that you can edit to suit your needs. To create the file,
enter this command as root:
[bash,subs="attributes+"]
---- ----
Xorg :1 -configure # Xorg :1 -configure
---- ----
Next, copy the file to the correct location: Next, copy the file to the correct location:
[bash,subs="attributes+"]
---- ----
cp /root/xorg.conf.new /etc/X11/xorg.conf # cp /root/xorg.conf.new /etc/X11/xorg.conf
---- ----
Now you may edit the file according to your needs. Now you may edit the file according to your needs.