LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 895|回复: 3

装了xorg 7但是很多字体没了

[复制链接]
发表于 2006-2-27 23:18:41 | 显示全部楼层 |阅读模式
用了xorgconfig生成的xorg.conf,但是wqy字体没了,不知道为啥阿。


  1. # File generated by xorgconfig.

  2. #
  3. # Copyright 2004 The X.Org Foundation
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software"),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # Software is furnished to do so, subject to the following conditions:
  11. #
  12. # The above copyright notice and this permission notice shall be included in
  13. # all copies or substantial portions of the Software.
  14. #
  15. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  18. # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  19. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  20. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21. # SOFTWARE.
  22. #
  23. # Except as contained in this notice, the name of The X.Org Foundation shall
  24. # not be used in advertising or otherwise to promote the sale, use or other
  25. # dealings in this Software without prior written authorization from
  26. # The X.Org Foundation.
  27. #

  28. # **********************************************************************
  29. # Refer to the xorg.conf(5x) man page for details about the format of
  30. # this file.
  31. # **********************************************************************

  32. # **********************************************************************
  33. # Module section -- this  section  is used to specify
  34. # which dynamically loadable modules to load.
  35. # **********************************************************************
  36. #
  37. Section "Module"

  38. # This loads the DBE extension module.

  39.     Load        "dbe"          # Double buffer extension

  40. # This loads the miscellaneous extensions module, and disables
  41. # initialisation of the XFree86-DGA extension within that module.
  42.     SubSection  "extmod"
  43.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  44.     EndSubSection

  45. # This loads the font modules
  46.     Load        "type1"
  47. #    Load        "speedo"
  48. #        Load        "truetype"
  49.    Load        "freetype"
  50.    Load        "xft"
  51.         Load        "bitmap"
  52. # This loads the GLX module
  53.     Load       "glx"
  54. # This loads the DRI module
  55.     Load       "dri"
  56.         Load "GLcore"
  57.         Load "record"
  58. EndSection

  59. # **********************************************************************
  60. # Files section.  This allows default font and rgb paths to be set
  61. # **********************************************************************

  62. Section "Files"

  63. # The location of the RGB database.  Note, this is the name of the
  64. # file minus the extension (like ".txt" or ".db").  There is normally
  65. # no need to change the default.

  66.     RgbPath        "/usr/lib/X11/rgb"

  67. # Multiple FontPath entries are allowed (which are concatenated together),
  68. # as well as specifying multiple comma-separated entries in one FontPath
  69. # command (or a combination of both methods)
  70. #
  71. #

  72. #    FontPath   "/usr/lib/X11/fonts/local/"
  73. #    FontPath   "/usr/lib/X11/fonts/misc/"
  74. #    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
  75. #    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
  76. #    FontPath   "/usr/lib/X11/fonts/Speedo/"
  77. #    FontPath   "/usr/lib/X11/fonts/Type1/"
  78. #    FontPath   "/usr/lib/X11/fonts/TrueType/"
  79. #    FontPath   "/usr/lib/X11/fonts/freefont/"
  80. #    FontPath   "/usr/lib/X11/fonts/75dpi/"
  81. #    FontPath   "/usr/lib/X11/fonts/100dpi/"

  82. # The module search path.  The default path is shown here.

  83. #    ModulePath "/usr/lib/modules"

  84.     FontPath         "/usr/share/fonts/misc"
  85.     FontPath         "/usr/share/fonts/75dpi"
  86.     FontPath         "/usr/share/fonts/100dpi"
  87.     FontPath         "/usr/share/fonts/TTF"
  88.     FontPath         "/usr/share/fonts/Type1"
  89.     FontPath         "/usr/local/share/fonts"
  90.     FontPath        "/usr/share/fonts/wqy"
  91. EndSection

  92. # **********************************************************************
  93. # Server flags section.
  94. # **********************************************************************

  95. Section "ServerFlags"

  96. # Uncomment this to cause a core dump at the spot where a signal is
  97. # received.  This may leave the console in an unusable state, but may
  98. # provide a better stack trace in the core dump to aid in debugging

  99. #    Option "NoTrapSignals"

  100. # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
  101. # (where n is 1 through 12).  This allows clients to receive these key
  102. # events.

  103. #    Option "DontVTSwitch"

  104. # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
  105. # This allows clients to receive this key event.

  106. #    Option "DontZap"

  107. # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
  108. # sequences.  This allows clients to receive these key events.

  109. #    Option "Dont Zoom"

  110. # Uncomment this to disable tuning with the xvidtune client. With
  111. # it the client can still run and fetch card and monitor attributes,
  112. # but it will not be allowed to change them. If it tries it will
  113. # receive a protocol error.

  114. #    Option "DisableVidModeExtension"

  115. # Uncomment this to enable the use of a non-local xvidtune client.

  116. #    Option "AllowNonLocalXvidtune"

  117. # Uncomment this to disable dynamically modifying the input device
  118. # (mouse and keyboard) settings.

  119. #    Option "DisableModInDev"

  120. # Uncomment this to enable the use of a non-local client to
  121. # change the keyboard or mouse settings (currently only xset).

  122. #    Option "AllowNonLocalModInDev"

  123. EndSection

  124. # **********************************************************************
  125. # Input devices
  126. # **********************************************************************

  127. # **********************************************************************
  128. # Core keyboard's InputDevice section
  129. # **********************************************************************

  130. Section "InputDevice"

  131.     Identifier        "Keyboard1"
  132.     Driver        "kbd"

  133. # For most OSs the protocol can be omitted (it defaults to "Standard").
  134. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  135. # uncomment the following line.

  136. #    Option     "Protocol"      "Xqueue"

  137.     Option "AutoRepeat" "500 30"

  138. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  139. #    Option        "Xleds"      "1 2 3"

  140. #    Option "LeftAlt"     "Meta"
  141. #    Option "RightAlt"    "ModeShift"

  142. # To customise the XKB settings to suit your keyboard, modify the
  143. # lines below (which are the defaults).  For example, for a non-U.S.
  144. # keyboard, you will probably want to use:
  145. #    Option "XkbModel"    "pc105"
  146. # If you have a US Microsoft Natural keyboard, you can use:
  147. #    Option "XkbModel"    "microsoft"
  148. #
  149. # Then to change the language, change the Layout setting.
  150. # For example, a german layout can be obtained with:
  151. #    Option "XkbLayout"   "de"
  152. # or:
  153. #    Option "XkbLayout"   "de"
  154. #    Option "XkbVariant"  "nodeadkeys"
  155. #
  156. # If you'd like to switch the positions of your capslock and
  157. # control keys, use:
  158. #    Option "XkbOptions"  "ctrl:swapcaps"

  159. # These are the default XKB settings for Xorg
  160. #    Option "XkbRules"    "xorg"
  161. #    Option "XkbModel"    "pc105"
  162. #    Option "XkbLayout"   "us"
  163. #    Option "XkbVariant"  ""
  164. #    Option "XkbOptions"  ""

  165. #    Option "XkbDisable"

  166.     Option "XkbRules"        "xorg"
  167.     Option "XkbModel"        "pc101"
  168.     Option "XkbLayout"        "us"
  169.     Option "XkbOptions"        "grp:switch,lv3:switch"

  170. EndSection


  171. # **********************************************************************
  172. # Core Pointer's InputDevice section
  173. # **********************************************************************

  174. Section "InputDevice"

  175. # Identifier and driver

  176.     Identifier        "Mouse1"
  177.     Driver        "mouse"
  178.     Option "Protocol"    "Auto"        # Auto detect
  179.     Option "Device"      "/dev/misc/psaux"

  180. # When using XQUEUE, comment out the above two lines, and uncomment
  181. # the following line.

  182.     Option "Protocol"        "IMPS/2"

  183. # Mouse-speed setting for PS/2 mouse.

  184. #    Option "Resolution"        "256"

  185. # Baudrate and SampleRate are only for some Logitech mice. In
  186. # almost every case these lines should be omitted.

  187. #    Option "BaudRate"        "9600"
  188. #    Option "SampleRate"        "150"

  189. # Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
  190. # horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
  191. # 3 buttons and you need to map the wheel to different button ids to avoid
  192. # conflicts.

  193.     Option "ZAxisMapping"   "4 5"

  194. # Emulate3Buttons is an option for 2-button mice
  195. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

  196. #    Option "Emulate3Buttons"
  197. #    Option "Emulate3Timeout"    "50"

  198. # ChordMiddle is an option for some 3-button Logitech mice

  199. #    Option "ChordMiddle"

  200. EndSection


  201. # **********************************************************************
  202. # Other input device sections
  203. # this is optional and is required only if you
  204. # are using extended input devices.  This is for example only.  Refer
  205. # to the xorg.conf man page for a description of the options.
  206. # **********************************************************************
  207. #
  208. # Section "InputDevice"
  209. #    Identifier  "Mouse2"
  210. #    Driver      "mouse"
  211. #    Option      "Protocol"      "MouseMan"
  212. #    Option      "Device"        "/dev/mouse2"
  213. # EndSection
  214. #
  215. # Section "InputDevice"
  216. #    Identifier "spaceball"
  217. #    Driver     "magellan"
  218. #    Option     "Device"        "/dev/cua0"
  219. # EndSection
  220. #
  221. # Section "InputDevice"
  222. #    Identifier "spaceball2"
  223. #    Driver     "spaceorb"
  224. #    Option     "Device"        "/dev/cua0"
  225. # EndSection
  226. #
  227. # Section "InputDevice"
  228. #    Identifier "touchscreen0"
  229. #    Driver     "microtouch"
  230. #    Option     "Device"        "/dev/ttyS0"
  231. #    Option     "MinX"          "1412"
  232. #    Option     "MaxX"          "15184"
  233. #    Option     "MinY"          "15372"
  234. #    Option     "MaxY"          "1230"
  235. #    Option     "ScreenNumber"  "0"
  236. #    Option     "ReportingMode" "Scaled"
  237. #    Option     "ButtonNumber"  "1"
  238. #    Option     "SendCoreEvents"
  239. # EndSection
  240. #
  241. # Section "InputDevice"
  242. #    Identifier "touchscreen1"
  243. #    Driver     "elo2300"
  244. #    Option     "Device"        "/dev/ttyS0"
  245. #    Option     "MinX"          "231"
  246. #    Option     "MaxX"          "3868"
  247. #    Option     "MinY"          "3858"
  248. #    Option     "MaxY"          "272"
  249. #    Option     "ScreenNumber"  "0"
  250. #    Option     "ReportingMode" "Scaled"
  251. #    Option     "ButtonThreshold"       "17"
  252. #    Option     "ButtonNumber"  "1"
  253. #    Option     "SendCoreEvents"
  254. # EndSection

  255. # **********************************************************************
  256. # Monitor section
  257. # **********************************************************************

  258. # Any number of monitor sections may be present

  259. Section "Monitor"

  260.     Identifier  "My Monitor"

  261. # HorizSync is in kHz unless units are specified.
  262. # HorizSync may be a comma separated list of discrete values, or a
  263. # comma separated list of ranges of values.
  264. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  265. # USER MANUAL FOR THE CORRECT NUMBERS.

  266.     HorizSync   31.5

  267. #    HorizSync        30-64         # multisync
  268. #    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
  269. #    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies

  270. # VertRefresh is in Hz unless units are specified.
  271. # VertRefresh may be a comma separated list of discrete values, or a
  272. # comma separated list of ranges of values.
  273. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  274. # USER MANUAL FOR THE CORRECT NUMBERS.

  275.     VertRefresh 50-70

  276. EndSection


  277. # **********************************************************************
  278. # Graphics device section
  279. # **********************************************************************

  280. # Any number of graphics device sections may be present

  281. # Standard VGA Device:

  282. Section "Device"
  283.     Identifier        "Standard VGA"
  284.     VendorName        "Unknown"
  285.     BoardName        "Unknown"

  286. # The chipset line is optional in most cases.  It can be used to override
  287. # the driver's chipset detection, and should not normally be specified.

  288. #    Chipset        "generic"

  289. # The Driver line must be present.  When using run-time loadable driver
  290. # modules, this line instructs the server to load the specified driver
  291. # module.  Even when not using loadable driver modules, this line
  292. # indicates which driver should interpret the information in this section.

  293.     Driver     "vga"
  294. # The BusID line is used to specify which of possibly multiple devices
  295. # this section is intended for.  When this line isn't present, a device
  296. # section can only match up with the primary video device.  For PCI
  297. # devices a line like the following could be used.  This line should not
  298. # normally be included unless there is more than one video device
  299. # intalled.

  300. #    BusID      "PCI:0:10:0"

  301. #    VideoRam        256

  302. #    Clocks        25.2 28.3

  303. EndSection

  304. # Device configured by xorgconfig:

  305. Section "Device"
  306.     Identifier  "* Generic VESA compatible"
  307.     Driver      "nvidia"
  308.     #VideoRam    256
  309.     # Insert Clocks lines here if appropriate
  310.         Option      "RenderAccel" "true"
  311.         Option      "AllowGLXWithComposite" "true"
  312. EndSection

  313. Section "Extensions"
  314.             Option "Composite" "Enable"
  315.                 Option "RENDER" "Enable"
  316. EndSection

  317. # **********************************************************************
  318. # Screen sections
  319. # **********************************************************************

  320. # Any number of screen sections may be present.  Each describes
  321. # the configuration of a single screen.  A single specific screen section
  322. # may be specified from the X server command line with the "-screen"
  323. # option.
  324. Section "Screen"
  325.     Identifier  "Screen 1"
  326.     Device      "* Generic VESA compatible"
  327.     Monitor     "My Monitor"
  328.     DefaultDepth 24

  329.     Subsection "Display"
  330.         Depth       8
  331.         Modes       "640x400"
  332.         ViewPort    0 0
  333.     EndSubsection
  334.     Subsection "Display"
  335.         Depth       16
  336.         Modes       "640x480"
  337.         ViewPort    0 0
  338.     EndSubsection
  339.     Subsection "Display"
  340.         Depth       24
  341.         Modes       "1024x768" "640x480"
  342.         ViewPort    0 0
  343.     EndSubsection
  344. EndSection

  345. # **********************************************************************
  346. # ServerLayout sections.
  347. # **********************************************************************

  348. # Any number of ServerLayout sections may be present.  Each describes
  349. # the way multiple screens are organised.  A specific ServerLayout
  350. # section may be specified from the X server command line with the
  351. # "-layout" option.  In the absence of this, the first section is used.
  352. # When now ServerLayout section is present, the first Screen section
  353. # is used alone.

  354. Section "ServerLayout"

  355. # The Identifier line must be present
  356.     Identifier  "Simple Layout"

  357. # Each Screen line specifies a Screen section name, and optionally
  358. # the relative position of other screens.  The four names after
  359. # primary screen name are the screens to the top, bottom, left and right
  360. # of the primary screen.  In this example, screen 2 is located to the
  361. # right of screen 1.

  362.     Screen "Screen 1"

  363. # Each InputDevice line specifies an InputDevice section name and
  364. # optionally some options to specify the way the device is to be
  365. # used.  Those options include "CorePointer", "CoreKeyboard" and
  366. # "SendCoreEvents".

  367.     InputDevice "Mouse1" "CorePointer"
  368.     InputDevice "Keyboard1" "CoreKeyboard"

  369. EndSection

  370. # Section "DRI"
  371. #    Mode 0666
  372. # EndSection


复制代码
发表于 2006-2-27 23:57:19 | 显示全部楼层
我的能用啊?
有次升级内核,提示说要使用bitmap字体需要联接一个东西.具体
[arch@localhost conf.d]$ more /etc/fonts/conf.d/README
conf.d/README
Each file in this directory is a fontconfig configuration file.  Fontconfig
scans this directory, loading all files of the form [0-9][0-9]*, so if you
want to use any of these options, link them to a name of that form.  E.g.
                        
        $ ln -s no-bitmaps.conf 10no-bitmaps.conf
这是我的.                        
[arch@localhost conf.d]$ ls -l
total 28                 
lrwxrwxrwx  1 root root  16 2006-02-03 13:09 10-bitmaps.conf -> yes-bitmaps.conf
-rw-r--r--  1 root root 285 2006-02-01 04:12 README
-rw-r--r--  1 root root 250 2006-02-01 04:12 autohint.conf
-rw-r--r--  1 root root 306 2006-02-01 04:12 no-bitmaps.conf
-rw-r--r--  1 root root 257 2006-02-01 04:12 no-sub-pixel.conf
-rw-r--r--  1 root root 256 2006-02-01 04:12 sub-pixel.conf
-rw-r--r--  1 root root 247 2006-02-01 04:12 unhinted.conf
-rw-r--r--  1 root root 296 2006-02-01 04:12 yes-bitmaps.conf
回复 支持 反对

使用道具 举报

发表于 2006-2-28 00:04:27 | 显示全部楼层
对了,那些fonts都的升级~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-28 20:59:41 | 显示全部楼层
多谢阿!终于可以了,准备写个心得。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表