The xorg.conf file is the Xorg server configuration file and is located in the /etc/X11/ directory.
The following excerpt from the xorg.conf configuration file shows the input device and monitor sections:
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection
When an xorg.conf file is needed, you need to mention the sections that are being changed. Unspecified sections continue to use default values. Additional contents are read from any files that exist in directories such as /etc/X11/xorg.conf.d and are merged with the base configuration file. For information about the syntax, search paths, and available options, see the xorg.conf(4) man page.
For sample configuration snippets and examples, see the /etc/X11/xorg.conf.avail file. For example, to stop the X server by using the Ctrl+Alt+Backspace keystroke, see the /etc/X11/xorg.conf.avail/90-zap.conf directory. To use this option, copy or link to the /etc/X11/xorg.conf.d directory:
# ln -s ../xorg.conf.avail/90-zap.conf /etc/X11/xorg.conf.d/90-zap.conf
Restart the X server to see the changes.
# svcadm restart gdm