Advertisement
Guest User

Multitouch en Dell studio 1558

a guest
Nov 29th, 2010
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.77 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # list of synaptics device properties http://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html#sect4
  4. # list  current synaptics device properties: xinput list-props '"SynPS/2 Synaptics TouchPad"'
  5. #
  6. sleep 5 #added delay...
  7. xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1
  8. xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4
  9. xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 9         #     Below width 1 finger touch, above width simulate 2 finger touch. - value=pad-pixels
  10. xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Area" 0, 0, 0, 4800 # set sensitive area of touchpad - value=left, top, right, bottom
  11. xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 1 0 0       #     vertical, horizontal, corner - values: 0=disable  1=enable
  12. xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 300 #     stabilize 2 finger actions - value=pad-pixels
  13. # xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3   # pad corners rt rb lt lb tap fingers 1 2 3 (can't simulate more then 2 tap fingers AFAIK) - values: 0=disable 1=left 2=middle 3=right etc. (in FF 8=back 9=forward)
  14. xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 1 0   #     vertical scrolling, horizontal scrolling - values: 0=disable 1=enable
  15. # xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling" 1
  16. # xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling Trigger" 3
  17.  
  18. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement