50-synaptics.conf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. Option "TapButton1" "1"
  15. Option "TapButton2" "2"
  16. Option "TapButton3" "3"
  17. # This option is recommend on all Linux systems using evdev, but cannot be
  18. # enabled by default. See the following link for details:
  19. # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
  20. MatchDevicePath "/dev/input/event*"
  21. EndSection
  22. Section "InputClass"
  23. Identifier "touchpad ignore duplicates"
  24. MatchIsTouchpad "on"
  25. MatchOS "Linux"
  26. MatchDevicePath "/dev/input/mouse*"
  27. Option "Ignore" "on"
  28. EndSection
  29. # This option enables the bottom right corner to be a right button on
  30. # non-synaptics clickpads.
  31. # This option is only interpreted by clickpads.
  32. Section "InputClass"
  33. Identifier "Default clickpad buttons"
  34. MatchDriver "synaptics"
  35. Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
  36. # To disable the bottom edge area so the buttons only work as buttons,
  37. # not for movement, set the AreaBottomEdge
  38. # Option "AreaBottomEdge" "82%"
  39. EndSection
  40. # This option disables software buttons on Apple touchpads.
  41. # This option is only interpreted by clickpads.
  42. Section "InputClass"
  43. Identifier "Disable clickpad buttons on Apple touchpads"
  44. MatchProduct "Apple|bcm5974"
  45. MatchDriver "synaptics"
  46. Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
  47. EndSection