c# 代码
 
  1. # Xorg configuration created by system-config-display  
  2.   
  3. Section "ServerLayout"  
  4.     Identifier     "Default Layout"  
  5.     Screen      0  "Screen0" 0 0  
  6.     InputDevice    "Mouse0" "CorePointer"  
  7.     InputDevice    "Keyboard0" "CoreKeyboard"  
  8. EndSection  
  9.   
  10. Section "Files"  
  11.  
  12. # RgbPath is the location of the RGB database.  Note, this is the name of the   
  13. # file minus the extension (like ".txt" or ".db").  There is normally  
  14. # no need to change the default.  
  15. # Multiple FontPath entries are allowed (they are concatenated together)  
  16. # By default, Red Hat 6.0 and later now use a font server independent of  
  17. # the X server to render fonts.  
  18.     RgbPath      "/usr/X11R6/lib/X11/rgb"  
  19.     FontPath     "unix/:7100"  
  20. EndSection  
  21.   
  22. Section "Module"  
  23.     Load  "dbe"  
  24.     Load  "extmod"  
  25.     Load  "fbdevhw"  
  26.     Load  "glx"  
  27.     Load  "record"  
  28.     Load  "freetype"  
  29.     Load  "type1"  
  30.     Load  "dri"  
  31. EndSection  
  32.   
  33. Section "InputDevice"  
  34.  
  35. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))  
  36. #   Option  "Xleds"     "1 2 3"  
  37. # To disable the XKEYBOARD extension, uncomment XkbDisable.  
  38. #   Option  "XkbDisable"  
  39. # To customise the XKB settings to suit your keyboard, modify the  
  40. # lines below (which are the defaults).  For example, for a non-U.S.  
  41. # keyboard, you will probably want to use:  
  42. #   Option  "XkbModel"  "pc102"  
  43. # If you have a US Microsoft Natural keyboard, you can use:  
  44. #   Option  "XkbModel"  "microsoft"  
  45. #  
  46. # Then to change the language, change the Layout setting.  
  47. # For example, a german layout can be obtained with:  
  48. #   Option  "XkbLayout" "de"  
  49. # or:  
  50. #   Option  "XkbLayout" "de"  
  51. #   Option  "XkbVariant"    "nodeadkeys"  
  52. #  
  53. # If you'd like to switch the positions of your capslock and  
  54. # control keys, use:  
  55. #   Option  "XkbOptions"    "ctrl:swapcaps"  
  56. # Or if you just want both to be control, use:  
  57. #   Option  "XkbOptions"    "ctrl:nocaps"  
  58. #  
  59.     Identifier  "Keyboard0"  
  60.     Driver      "kbd"  
  61.     Option      "XkbModel" "pc105"  
  62.     Option      "XkbLayout" "us"  
  63. EndSection  
  64.   
  65. Section "InputDevice"  
  66.     Identifier  "Mouse0"  
  67.     Driver      "mouse"  
  68.     Option      "Protocol" "IMPS/2"  
  69.     Option      "Device" "/dev/input/mice"  
  70.     Option      "ZAxisMapping" "4 5"  
  71.     Option      "Emulate3Buttons" "yes"  
  72. EndSection  
  73.   
  74. Section "Monitor"  
  75.     Identifier   "Monitor0"  
  76.     VendorName   "Monitor Vendor"  
  77.     ModelName    "Unknown monitor"  
  78.     HorizSync    30.0 - 80.0  
  79.     VertRefresh  50.0 - 90.0  
  80.     Option      "dpms"  
  81. EndSection  
  82.   
  83. Section "Device"  
  84.     Identifier  "Videocard0"  
  85.     Driver      "ati"  
  86.     VendorName  "Videocard vendor"  
  87.     BoardName   "ATI Rage XL"  
  88. EndSection  
  89.   
  90. Section "Screen"  
  91.     Identifier "Screen0"  
  92.     Device     "Videocard0"  
  93.     Monitor    "Monitor0"  
  94.     DefaultDepth     16  
  95.     SubSection "Display"  
  96.         Viewport   0 0  
  97.         Depth     16  
  98.         Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"  
  99.     EndSubSection  
  100. EndSection  
  101.   
  102. Section "DRI"  
  103.     Group        0  
  104.     Mode         0666  
  105. EndSection  
评论
发表评论

您还没有登录,请登录后发表评论