FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built
-
ins"
EndSection
#
我
们
的
X Server
很重要的一
点
就是必
须
要提供字型,
这个
Files
的
项
目就是在
设
定字型,
#
当
然啦,你的主机必
须
要有字型文件才行。一般字型
文件
在:
/usr/share/X11/fonts/
目
录
中。
#
但是
Xorg
会
去
读
取的
则
是在
/etc/X11/fontpath.d
目
录
下的
设
定喔!
Section "Module"
Load "glx"
EndSection
#
上面
这
些模
块
是
X Server
启动时
,希望能
够额
外
获
得的相
关
支持的模
块
。
#
关
于更多模
块
可以搜
寻
一下
/usr/lib64/xorg/modules/extensions/
这个
目
录
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
#
就是
键盘
,在
ServerLayout
项
目中有出
现这个
Keyboard0
吧!主要是
设
定
驱动
程序!
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
#
支持
滚轮
功能!
EndSection
#
这个则
主要在
设
定鼠
标
功能,重
点
在那
个
Protocol
项
目,
#
那
个
是可以指定鼠
标
½口的
设
定值,我
这
里使用的是自
动侦测
!不
论
是
USB/PS2
。
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
#
屏幕
监视
器的
设
定
½
有一
个
地方要注意,那就是垂直与水平的更新
频
率,常
见设
定如下:
# HorizSync 30.0
-
80.0
# VertRefresh 50.0
-
100.0
#
在上面的
HorizSync
与
VerRefresh
的
设
定上,要注意,不要
设
定太高,
#
这个
玩意儿与
实际
的
监视
器功能有
关
,
请
查
询
你的
监视
器手
册说
明
来设
定吧!
#
传统
CRT
屏幕
设
定太高的
话
,据
说会让
monitor
烧毁
呢,要很注意啊。
Section "Device"
#
显
示适配器芯片
(GPU)
的
驱动
程序!很重要的
设
定!
Identifier "Card0"
Driver "qxl"
#
实际
使用的
显
示适配器
驱动
程序!