files/linux/xorg.txt

Plain text | Download

  1. ### # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2.  
  3. Section "Files"
  4.  FontPath "/usr/share/X11/fonts/misc"
  5.  FontPath "/usr/share/X11/fonts/cyrillic"
  6.  FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
  7.  FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
  8.  FontPath "/usr/share/X11/fonts/Type1"
  9.  FontPath "/usr/share/X11/fonts/CID"
  10.  FontPath "/usr/share/X11/fonts/100dpi"
  11.  FontPath "/usr/share/X11/fonts/75dpi"
  12.         # paths to defoma fonts
  13.  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  14.  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
  15. EndSection
  16.  
  17. Section "Extensions"
  18. # Option "Composite" "true"
  19. # Option "RENDER"    "on"
  20. EndSection
  21.  
  22. Section "Module"
  23.  Load "i2c"
  24.  Load "bitmap"
  25.  Load "dbe"
  26.  Load "ddc"
  27. # Load "dri"
  28. # Load "GLcore"
  29.  Load "extmod"
  30.  Load "freetype"
  31.  Load "glx"
  32.  Load "int10"
  33.  Load "record"
  34.  Load "type1"
  35.  Load "vbe"
  36.  Load "synaptics"
  37.  Load "exa"
  38. EndSection
  39.  
  40. Section "InputDevice"
  41.  Identifier "Generic Keyboard"
  42.  Driver  "kbd"
  43.  Option  "CoreKeyboard"
  44.  Option  "XkbRules" "xorg"
  45.  Option  "XkbModel" "pc105"
  46.  Option  "XkbLayout" "no"
  47. EndSection
  48.  
  49. Section "InputDevice"
  50.  Identifier "extmouse"
  51.  Driver  "mouse"
  52.  Option  "CorePointer"
  53.  Option  "Device"  "/dev/input/mice"
  54.  Option  "Protocol"  "ImPS/2"
  55.  Option  "Emulate3Buttons" "true"
  56.  Option  "ZAxisMapping"  "4 5"
  57. EndSection
  58.  
  59. Section "InputDevice"
  60.  Identifier "touchpad"
  61.  Driver  "synaptics"
  62.  Option  "Device"  "/dev/psaux"
  63.  Option  "Protocol" "auto-dev"
  64.  
  65.  Option     "SHMConfig"            "on"
  66.  Option     "LeftEdge"             "120"
  67.  Option     "RightEdge"            "830"
  68.  Option     "TopEdge"              "120"
  69.  Option     "BottomEdge"           "650"
  70.  Option     "FingerLow"            "8"
  71.  Option     "FingerHigh"           "9"
  72.  Option     "MaxTapTime"           "200"
  73.  Option     "MaxTapMove"           "150"
  74.  Option     "MaxDoubleTapTime"     "200"
  75.  Option     "ClickTime"            "100"
  76.  Option     "FastTaps"             "0"
  77.  Option     "EmulateMidButtonTime" "75"
  78.  Option     "VertScrollDelta"      "20"
  79.  Option     "HorizScrollDelta"     "20"
  80.  Option     "MinSpeed"             "0.3"
  81.  Option     "MaxSpeed"             "1"
  82.  Option     "AccelFactor"          "0.05"
  83.  Option     "EdgeMotionMinZ"       "30"
  84.  Option     "EdgeMotionMaxZ"       "160"
  85.  Option     "EdgeMotionMinSpeed"   "200"
  86.  Option     "EdgeMotionMaxSpeed"   "200"
  87.  Option     "EdgeMotionUseAlways"  "1"
  88.  Option     "UpDownScrolling"      "1"
  89.  Option     "TouchpadOff"          "0"
  90.  Option     "GuestMouseOff"        "0"
  91.  Option     "LockedDrags"          "0"
  92.  Option     "RTCornerButton"       "0"
  93.  Option     "RBCornerButton"       "0"
  94.  Option     "LTCornerButton"       "0"
  95.  Option     "LBCornerButton"       "0"
  96.  Option     "TapButton1"           "1"
  97.  Option     "TapButton2"           "2"
  98.  Option     "TapButton3"           "3"
  99.  Option     "CircularScrolling"    "1"
  100.  Option     "CircScrollDelta"      "0.1"
  101.  Option     "CircScrollTrigger"    "2"
  102.  Option     "CircularPad"          "0"
  103.  Option     "PalmDetect"           "0"
  104.  Option     "PalmMinWidth"         "10"
  105.  Option     "PalmMinZ"             "200"
  106.  Option     "CoatingSpeed"         "0" 
  107. EndSection
  108.  
  109. Section "InputDevice"
  110.  Driver        "wacom"
  111.  Identifier    "wcursor"
  112.  Option        "Device"        "/dev/ttyS0"
  113.  Option        "Type"          "cursor"
  114.  Option        "ForceDevice"   "ISDV4"
  115.  Option        "Mode"          "absolute"
  116.  Option        "Tilt"          "on"
  117.  Option        "Threshold"     "2"
  118. EndSection
  119.  
  120. Section "InputDevice"
  121.  Driver        "wacom"
  122.  Identifier    "wstylus"
  123.  Option        "Device"        "/dev/ttyS0"
  124.  Option        "Type"          "stylus"
  125.  Option        "ForceDevice"   "ISDV4"
  126.  Option        "Mode"          "absolute"
  127.  Option        "Tilt"          "on"
  128.  Option        "Threshold"     "2"
  129. EndSection
  130.  
  131. Section "InputDevice"
  132.  Driver        "wacom"
  133.  Identifier    "weraser"
  134.  Option        "Device"        "/dev/ttyS0"
  135.  Option        "Type"          "eraser"
  136.  Option        "ForceDevice"   "ISDV4"
  137.  Option        "Mode"          "absolute"
  138.  Option        "Tilt"          "on"
  139.  Option        "Threshold"     "2"
  140. EndSection
  141.  
  142. Section "Device"
  143.  Identifier "NVIDIA Corporation NV34M [GeForce FX Go 5200]"
  144.  Driver     "nvidia"
  145.  BusID      "PCI:1:0:0"
  146.  
  147.  Option "NoLogo"                "true"
  148.  Option "NoPowerConnectorCheck" "true"
  149. # Option "RenderAccel"           "true"
  150. # Option "RandRRotation"         "true"
  151.  Option "NoBandWidthCheck"      "true"
  152. # Option "AddARGBGLXVisuals"     "true"
  153. # Option "Coolbits"              "1"
  154. # Option "XvmcUsesTextures"      "true"
  155. # Option "BackingStore"          "true"
  156.  
  157. # Option "NoRenderExtension"     "on"
  158.  Option "NvAGP"                 "1"
  159. # Option "UseEdidFreqs"          "true"
  160.  Option "AllowGLXWithComposite" "true"
  161.  
  162. # Option "IgnoreDisplayDevices"  "TV"
  163. # Option "ConnectedMonitor"         "DFP,CRT"
  164. # Option "TwinView"                 "true"
  165. # Option "TwinViewOrientation"      "Clone"
  166. # Option "MetaModes"                "1024x768 @1400x1050,1400x1050; 1024x768 @1280x1024,1280x1024; 800x600 @840x525,840x525; 800x600 @700x525,700x525"
  167. # Option "MetaModes"                "1400x1050,1024x768@1400x1050; 1280x1024,1024x768; 840x525,800x600; 700x525,800x600"
  168. # Option "SecondMonitorHorizSync"   "31.5-90"
  169. # Option "SecondMonitorVertRefresh" "60"
  170. EndSection
  171.  
  172. Section "Monitor"
  173.  Identifier "Generic Monitor"
  174. # Option  "DPMS"
  175.  HorizSync 28-70
  176.  VertRefresh 43-60
  177. # HorizSync 30-110
  178. # VertRefresh 60
  179. EndSection
  180.  
  181. Section "Screen"
  182.  Identifier "Default Screen"
  183.  Device  "NVIDIA Corporation NV34M [GeForce FX Go 5200]"
  184.  Monitor  "Generic Monitor"
  185.  DefaultDepth 24
  186.  SubSection "Display"
  187.   Depth  24
  188.   Modes  "1400x1050" "1280x1024" "840x525" "700x525"
  189. #  Modes  "1024x768" "800x600"
  190.  EndSubSection
  191. EndSection
  192.  
  193. Section "ServerLayout"
  194.  Identifier "Default Layout"
  195.  Screen  "Default Screen"
  196.  InputDevice "Generic Keyboard"
  197.  InputDevice "extmouse" "CorePointer"
  198.  InputDevice "touchpad" "AlwaysCore"
  199.  InputDevice "wcursor" "SendCoreEvents"
  200.  InputDevice "wstylus" "SendCoreEvents"
  201.  InputDevice "weraser" "SendCoreEvents"
  202. EndSection
  203.  
  204. Section "ServerFlags"
  205.  Option "RandR" "on"
  206. EndSection
  207.  
  208. Section "DRI"
  209.  Mode 0666
  210. EndSection