Don't like ads? PRO users don't see any ads ;-)
Guest

xorg+keyboard

By: a guest on Jun 2nd, 2012  |  syntax: None  |  size: 2.73 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /etc/X11/xorg.conf.d/90-keyboard-layout.conf
  2. Section "InputClass"
  3.         Identifier "keyboard-all"
  4.         MatchIsKeyboard "on"
  5.         Driver "evdev"
  6.         Option "XkbLayout" "fr"
  7.         Option "XkbVariant" "latin9"
  8.         Option "XkbOptions" "terminate:ctrl_alt_bksp"
  9. EndSection
  10.  
  11.  
  12.  
  13. /etc/X11/xorg.conf
  14. Section "ServerLayout"
  15.     Identifier     "X.org Configured"
  16.     Screen         0 "Screen0" 0 0
  17.     InputDevice    "Mouse0" "CorePointer"
  18.     InputDevice    "Keyboard0" "CoreKeyboard"
  19.     Option         "AllowEmptyInput" "false"
  20.     Option         "AutoAddDevice" "false"
  21.     Option         "AutoEnableDevices" "false"
  22. EndSection
  23.  
  24. Section "Files"
  25.         ModulePath   "/usr/lib/xorg/modules"
  26.         FontPath     "/usr/share/fonts/local"
  27.         FontPath     "/usr/share/fonts/TTF"
  28.         FontPath     "/usr/share/fonts/OTF"
  29.         FontPath     "/usr/share/fonts/Type1"
  30.         FontPath     "/usr/share/fonts/misc"
  31.         FontPath     "/usr/share/fonts/CID"
  32.         FontPath     "/usr/share/fonts/75dpi/:unscaled"
  33.         FontPath     "/usr/share/fonts/100dpi/:unscaled"
  34.         FontPath     "/usr/share/fonts/75dpi"
  35.         FontPath     "/usr/share/fonts/100dpi"
  36.         FontPath     "/usr/share/fonts/cyrillic"
  37. EndSection
  38.  
  39. Section "Module"
  40.         Load  "record"
  41.         Load  "glx"
  42.         Load  "GLcore"
  43.         Load  "dbe"
  44.         Load  "extmod"
  45.         Load  "type1"
  46.         Load  "freetype"
  47. EndSection
  48.  
  49. Section "ServerFlags"
  50.     Option         "Xinerama" "0"
  51. EndSection
  52.  
  53. Section "InputDevice"
  54.     Identifier     "Keyboard0"
  55.     Driver         "kbd"
  56.     Option         "XkbRules" "xorg"
  57.     Option         "XkbModel" "pc105"
  58.     Option         "XkbLayout" "fr"
  59.     Option         "XkbGeometry" "pc(pc105)"
  60.     Option         "RightAlt" "ModeShift"
  61. #    Option         "XkbVariant" "nodeadkeys"
  62. EndSection
  63.  
  64. Section "InputDevice"
  65.     Identifier     "Mouse0"
  66.     Driver         "mouse"
  67.     Option         "Protocol" "auto"
  68.     Option         "Device" "/dev/input/mice"
  69.     Option         "ZAxisMapping" "4 5 6 7"
  70. EndSection
  71.  
  72. Section "Monitor"
  73.     Identifier     "Monitor0"
  74.     VendorName     "Unknown"
  75.     ModelName      "Philips 220AW"
  76.     HorizSync       30.0 - 93.0
  77.     VertRefresh     56.0 - 76.0
  78.     Option         "DPMS"
  79. EndSection
  80.  
  81. Section "Device"
  82.     Identifier     "Card0"
  83.     Driver         "nvidia"
  84.     VendorName     "nVidia Corporation"
  85.     BoardName      "G70 [GeForce 7600 GT]"
  86. EndSection
  87.  
  88. Section "Screen"
  89.     Identifier     "Screen0"
  90.     Device         "Device0"
  91.     Monitor        "Monitor0"
  92.     DefaultDepth    24
  93.     Option         "TwinView" "1"
  94.     Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1680+0"
  95.     SubSection     "Display"
  96.           Depth       24
  97.     EndSubSection
  98. EndSection