Configuring X Window System using the xorg.conf file

About xorg.conf

Traditionally, the xorg.conf file is used to configure an Xorg display server. In Fedora (where an Xorg display server is configured instead of the default Wayland) 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.

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:

  1. # Xorg :1 -configure

Next, copy the file to the correct location:

  1. # cp /root/xorg.conf.new /etc/X11/xorg.conf

Now you may edit the file according to your needs.

See the xorg.conf(5) man page for more information.

Additional Resources

  1. Configuring Xorg as the default GNOME session