Merge branch 'xorg' into 'master'

Modularized and edited xorg info

Probably worth a quick review as this is my first real contribution to the project, just to confirm I understood and followed the expected formats/style/organization.

See merge request !17
This commit is contained in:
Robert Kratky 2017-12-15 15:35:35 +05:30
commit cd0e811d39
4 changed files with 31 additions and 61 deletions

View file

@ -34,8 +34,8 @@ Topics:
File: create-gpg-keys
- Name: (FIX ME!) How to create a GNU Hello RPM package
File: create-hello-world-rpm
- Name: (FIX ME!) How to create xorg.conf
File: create-xorg-conf
- Name: Creating an xorg.conf file
File: create-xorg-conf.adoc
- Name: (FIX ME!) How to debug Dracut problems
File: debug-dracut-problems
- Name: (FIX ME!) How to debug Systemd problems

View file

@ -1,64 +1,9 @@
= How to create xorg.conf
[[xorg-conf]]
= The xorg.conf file
'''
include::{md}/concept_xorg-conf.adoc[leveloffset=+1]
[IMPORTANT]
======
This page was automatically converted from https://fedoraproject.org/wiki/How_to_create_xorg.conf
It is probably
* Badly formatted
* Missing graphics and tables that do not convert well from mediawiki
* Out-of-date
* In need of other love
Please fix it, remove this notice, and then add to `_topic_map.yml`
Pull requests accepted at https://pagure.io/fedora-docs/quick-docs
Once that is live, go to the original wiki page and add an `{{old}}`
tag, followed by a note like
....
{{admon/note|This page has a new home!|
This wiki page is no longer maintained. Please find the up-to-date
version at: https://docs.fedoraproject.org/whatever-the-url
}}
....
======
'''
Fedora releases since do not create a 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 file.
[[xorg--configure]]
Xorg -configure
~~~~~~~~~~~~~~~
You can create a basic using the X executable itself. As root run:
....
Xorg :1 -configure
....
This will create the file , which you can then copy to :
....
cp /root/xorg.conf.new /etc/X11/xorg.conf
....
and edit according to your needs.
'''
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,7 @@
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

@ -0,0 +1,18 @@
[[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:
[bash,subs="attributes+"]
----
Xorg :1 -configure
----
Next, copy the file to the correct location:
[bash,subs="attributes+"]
----
cp /root/xorg.conf.new /etc/X11/xorg.conf
----
Now you may edit the file according to your needs.