2017-12-14 16:51:55 +00:00
[[creating-an-xorg-conf-file]]
2018-01-21 17:54:39 +00:00
= 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*:
2017-12-14 16:51:55 +00:00
----
2018-01-21 17:54:39 +00:00
# Xorg :1 -configure
2017-12-14 16:51:55 +00:00
----
Next, copy the file to the correct location:
2018-01-21 17:54:39 +00:00
2017-12-14 16:51:55 +00:00
----
2018-01-21 17:54:39 +00:00
# cp /root/xorg.conf.new /etc/X11/xorg.conf
2017-12-14 16:51:55 +00:00
----
2017-12-14 18:08:02 +00:00
Now you may edit the file according to your needs.
2018-07-19 12:40:31 +00:00
See the `xorg.conf(5)` man page for more information.