My slides for my LPI 102 classes.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.8KB

  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following commands:
  15. #
  16. # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
  17. # sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
  18. # sudo dpkg-reconfigure xserver-xorg
  19. # Files (usually fonts) to load
  20. Section "Files"
  21. FontPath "/usr/share/X11/fonts/misc"
  22. FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
  23. FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
  24. FontPath "/usr/share/X11/fonts/Type1"
  25. FontPath "/usr/share/X11/fonts/100dpi"
  26. FontPath "/usr/share/X11/fonts/75dpi"
  27. # paths to defoma fonts
  28. FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  29. EndSection
  30. # Modules to be loaded
  31. Section "Module"
  32. Load "bitmap"
  33. Load "ddc"
  34. Load "dri"
  35. Load "extmod"
  36. Load "freetype"
  37. Load "glx"
  38. Load "int10"
  39. Load "type1"
  40. Load "vbe"
  41. Load "dbe"
  42. EndSection
  43. # Keyboard configuration
  44. Section "InputDevice"
  45. Identifier "Generic Keyboard"
  46. Driver "kbd"
  47. Option "CoreKeyboard"
  48. Option "XkbRules" "xorg"
  49. Option "XkbModel" "pc105"
  50. Option "XkbLayout" "us"
  51. EndSection
  52. # Mouse configuration
  53. Section "InputDevice"
  54. Identifier "Configured Mouse"
  55. Driver "mouse"
  56. Option "CorePointer"
  57. Option "Device" "/dev/input/mice"
  58. Option "Protocol" "ImPS/2"
  59. Option "Emulate3Buttons" "true"
  60. Option "ZAxisMapping" "4 5"
  61. EndSection
  62. # Touchpad configuration
  63. Section "InputDevice"
  64. Identifier "Synaptics Touchpad"
  65. Driver "synaptics"
  66. Option "SendCoreEvents" "true"
  67. Option "Device" "/dev/psaux"
  68. Option "Protocol" "auto-dev"
  69. ## Option "HorizScrollDelta" "0"
  70. # The default RightEdge is 5400; it is too narrow for me
  71. Option "RightEdge" "5000"
  72. # This is a potential security problem; I only enable it temporarily,
  73. # to experiment and find out a comfortable RightEdge value
  74. # Option "SHMConfig" "true"
  75. EndSection
  76. # Graphics card configuration
  77. Section "Device"
  78. Identifier "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
  79. Driver "radeon"
  80. BusID "PCI:1:0:0"
  81. Option "DynamicClocks" "on"
  82. Option "CRT2HSync" "30-80"
  83. Option "CRT2VRefresh" "59-75"
  84. Option "MetaModes" "1024x768 800x600 640x480 1024x768+1280x1024"
  85. Option "XAANoOffscreenPixmaps" "true"
  86. EndSection
  87. # Monitor configuration (Mod
  88. Section "Monitor"
  89. Identifier "Generic Monitor"
  90. VendorName "Monitor Vendor"
  91. ModelName "Monitor Model"
  92. Option "DPMS"
  93. EndSection
  94. Section "Monitor"
  95. Identifier "Second Monitor"
  96. VendorName "Monitor Vendor"
  97. ModelName "Monitor Model"
  98. Option "DPMS"
  99. EndSection
  100. Section "Screen"
  101. Identifier "Default Screen"
  102. Device "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
  103. Monitor "Generic Monitor"
  104. DefaultDepth 24
  105. SubSection "Display"
  106. Depth 16
  107. Modes "1024x768" "800x600" "640x480" "1280x1024"
  108. EndSubSection
  109. SubSection "Display"
  110. Depth 24
  111. Modes "1024x768" "800x600" "640x480" "1280x1024"
  112. EndSubSection
  113. EndSection
  114. Section "ServerLayout"
  115. Identifier "DefaultLayout"
  116. Screen "Default Screen"
  117. InputDevice "Generic Keyboard"
  118. InputDevice "Configured Mouse"
  119. InputDevice "Synaptics Touchpad"
  120. EndSection
  121. Section "DRI"
  122. Mode 0666
  123. EndSection
  124. Section "ServerFlags"
  125. # MergedFB2: best for dual-head, but no compiz
  126. Option "DefaultServerLayout" "MergedFB2Layout"
  127. EndSection