Guest User

/etc/X11/xorg.conf.d/52-thinkpad.conf

a guest
Dec 18th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. x240 ~ $ cat /etc/X11/xorg.conf.d/52-thinkpad.conf
  2. # Example xorg.conf.d snippet that assigns the touchpad driver
  3. # to all touchpads. See xorg.conf.d(5) for more information on
  4. # InputClass.
  5. # DO NOT EDIT THIS FILE, your distribution will likely overwrite
  6. # it when updating. Copy (and rename) this file into
  7. # /etc/X11/xorg.conf.d first.
  8. # Additional options may be added in the form of
  9. # Option "OptionName" "value"
  10. #
  11. Section "InputClass"
  12. Identifier "touchpad catchall"
  13. Driver "synaptics"
  14. MatchIsTouchpad "on"
  15. # disable synaptics driver pointer acceleration
  16. Option "MinSpeed" "1"
  17. Option "MaxSpeed" "1"
  18. # tweak the X-server pointer acceleration
  19. Option "AccelerationProfile" "2"
  20. Option "AdaptiveDeceleration" "16"
  21. Option "ConstantDeceleration" "16"
  22. Option "VelocityScale" "32"
  23. Option "TapButton1" "1" # left click with one finger tap
  24. Option "TapButton2" "3" # right click with two finger tap
  25. # This option is recommend on all Linux systems using evdev, but cannot be
  26. # enabled by default. See the following link for details:
  27. # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
  28. MatchDevicePath "/dev/input/event*"
  29. EndSection
  30.  
  31. Section "InputClass"
  32. Identifier "touchpad ignore duplicates"
  33. MatchIsTouchpad "on"
  34. MatchOS "Linux"
  35. MatchDevicePath "/dev/input/mouse*"
  36. Option "Ignore" "on"
  37. EndSection
  38.  
  39. # This option enables the bottom right corner to be a right button on
  40. # non-synaptics clickpads.
  41. # This option is only interpreted by clickpads.
  42. Section "InputClass"
  43. Identifier "Default clickpad buttons"
  44. MatchDriver "synaptics"
  45. Option "SoftButtonAreas" "60% 0 5% 5% 40% 60% 0 5%"
  46. # To disable the bottom edge area so the buttons only work as buttons,
  47. # not for movement, set the AreaBottomEdge
  48. Option "AreaTopEdge" "100%"
  49. EndSection
  50.  
  51. Section "InputClass"
  52. Identifier "Trackpoint Wheel Emulation"
  53. MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
  54. MatchDevicePath "/dev/input/event*"
  55. Option "EmulateWheel" "true"
  56. Option "EmulateWheelButton" "2"
  57. Option "Emulate3Buttons" "false"
  58. Option "XAxisMapping" "6 7"
  59. Option "YAxisMapping" "4 5"
  60. EndSection
  61.  
  62. # This option disables software buttons on Apple touchpads.
  63. # This option is only interpreted by clickpads.
  64. Section "InputClass"
  65. Identifier "Disable clickpad buttons on Apple touchpads"
  66. MatchProduct "Apple|bcm5974"
  67. MatchDriver "synaptics"
  68. Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
  69. EndSection
Advertisement
Add Comment
Please, Sign In to add comment