Editing the X Configuration File
If you’re using X.org on a Linux distribution that uses the init
daemon, your configuration settings are saved in
/etc/X11/xorg.conf.
If you’re using XFree86, your configuration settings are saved in
/etc/X11/XF86Config.
Here is a portion of a sample xorg.conf file
Section "InputDevice"
Driver "vmmouse"
Identifier "VMware Mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "IMPS/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806
-hsync –vsync
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
EndSection
Linux distributions that are based on systemd do not use the xorg.conf
configuration file. Instead, the X11 configuration is stored in a series
of configuration files located in
/etc/X11/xorg.conf.d.
However, the configuration principles are pretty much the same.
Instead of a single file divided into multiple sections, these systems
break up the one single file into separate files, such as
10-evdev.conf, 50-device.conf,
50-monitor.conf, and 50-screen.conf.
The syntax within these files is the same as that used in the xorg.conf file.
LX0-104 Exam Objectives (H)
No comments:
Post a Comment