50-synaptics.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Example xorg.conf.d snippet that assigns the touchpad driver
  2. # to all touchpads. See xorg.conf.d(5) for more information on
  3. # InputClass.
  4. # DO NOT EDIT THIS FILE, your distribution will likely overwrite
  5. # it when updating. Copy (and rename) this file into
  6. # /etc/X11/xorg.conf.d first.
  7. # Additional options may be added in the form of
  8. # Option "OptionName" "value"
  9. #
  10. Section "InputClass"
  11. Identifier "touchpad catchall"
  12. Driver "synaptics"
  13. MatchIsTouchpad "on"
  14. # This option is recommend on all Linux systems using evdev, but cannot be
  15. # enabled by default. See the following link for details:
  16. # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
  17. # MatchDevicePath "/dev/input/event*"
  18. EndSection
  19. Section "InputClass"
  20. Identifier "touchpad ignore duplicates"
  21. MatchIsTouchpad "on"
  22. MatchOS "Linux"
  23. MatchDevicePath "/dev/input/mouse*"
  24. Option "Ignore" "on"
  25. EndSection
  26. # This option enables the bottom right corner to be a right button on clickpads
  27. # and the right and middle top areas to be right / middle buttons on clickpads
  28. # with a top button area.
  29. # This option is only interpreted by clickpads.
  30. Section "InputClass"
  31. Identifier "Default clickpad buttons"
  32. MatchDriver "synaptics"
  33. # FIXME: describe these better.
  34. # these options are not adjustable via synclient
  35. Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
  36. # Option "SoftButtonAreas" "0 50% 82% 0 0 0 0 0"
  37. # Option "SecondarySoftButtonAreas" "0 42% 0 0 15% 42% 58% 0 15%"
  38. Option "SecondarySoftButtonAreas" "0 42% 0 0 15% 42% 58% 0 15%"
  39. # the rest of this is adjustable via synclient.
  40. # Enable 1, 2, and 3 finger clicking as left, right, and middle click, respectively.
  41. Option "TapButton1" "1"
  42. Option "TapButton2" "3"
  43. Option "TapButton3" "2"
  44. # Calm the pad down while clicking.
  45. Option "VertHysteresis" "50"
  46. Option "HorizHysteresis" "50"
  47. # Drag Lock
  48. Option "LockedDrags" "1"
  49. # Tap to click thresholds.
  50. Option "FingerLow" "35"
  51. Option "FingerHigh" "40"
  52. # Prevent accidental clicks
  53. Option "PalmDetect" "1"
  54. Option "PalmMinWidth" "10"
  55. Option "PalmMinZ" "80"
  56. # scrolling.
  57. Option "VertTwoFingerScroll" "1"
  58. # Option "VertScrollDelta" "-90"
  59. Option "VertScrollDelta" "90"
  60. Option "HorizTwoFingerScroll" "1"
  61. Option "HorizScrollDelta" "-90"
  62. # Aceleration
  63. Option "MinSpeed" "0.5"
  64. Option "MaxSpeed" "0.75"
  65. Option "AccelerationProfile" "2"
  66. Option "ConstantDeceleration" "4"
  67. EndSection
  68. # This option disables software buttons on Apple touchpads.
  69. # This option is only interpreted by clickpads.
  70. Section "InputClass"
  71. Identifier "Disable clickpad buttons on Apple touchpads"
  72. MatchProduct "Apple|bcm5974"
  73. MatchDriver "synaptics"
  74. Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
  75. EndSection