Guest User

Untitled

a guest
Apr 26th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. ##/etc/X11/xorg.conf section for laptop touchpad [plain_text]
  2. Section "InputDevice"
  3. Driver "synaptics"
  4. Identifier "touchpad"
  5. Option "Device" "/dev/psaux"
  6. Option "Protocol" "auto-dev"
  7. Option "LeftEdge" "130"
  8. Option "RightEdge" "840"
  9. Option "TopEdge" "130"
  10. Option "BottomEdge" "640"
  11. Option "FingerLow" "7"
  12. Option "FingerHigh" "8"
  13. Option "MaxTapTime" "180"
  14. Option "MaxTapMove" "110"
  15. Option "EmulateMidButtonTime" "75"
  16. Option "VertScrollDelta" "20"
  17. Option "HorizScrollDelta" "20"
  18. Option "MinSpeed" "0.25"
  19. Option "MaxSpeed" "0.50"
  20. Option "AccelFactor" "0.030"
  21. Option "EdgeMotionMinSpeed" "200"
  22. Option "EdgeMotionMaxSpeed" "200"
  23. Option "UpDownScrolling" "1"
  24. Option "CircularScrolling" "1"
  25. Option "CircScrollDelta" "0.1"
  26. Option "CircScrollTrigger" "2"
  27. Option "SHMConfig" "on"
  28. #always usefull
  29. Option "Emulate3Buttons" "on"
  30. EndSection
  31.  
  32. ##/usr/bin/touchpad - simple ruby script for disabling the touchpad when not needed
  33. #!/usr/bin/ruby
  34. state = (ARGV[0] == 'off')? 1 : 0
  35. `synclient TouchpadOff=#{state}`
  36.  
  37. ##usage [plain_text]
  38. touchpad off #turns off the touchpad
  39. touchpad #turns on the touchpad
Add Comment
Please, Sign In to add comment