Re: Acer aspire 5741G i ubuntu
Postano: 20 srp 2010, 17:15
kako god, hvala ti 
naručih acera..
naručih acera..
Regionalni Linux forum
https://www.linuxzasve.com/forum/
Kod: Označi sve
#!/bin/bash
#
# list of synaptics device properties http://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html#sect4
#
# Some useful commands :
# xinput list
# xinput list-props "SynPS/2 Synaptics TouchPad"
# xinput test "SynPS/2 Synaptics TouchPad"
# xinput test-xi2 "SynPS/2 Synaptics TouchPad"
#
sleep 5
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 8 # Below width 1 finger touch, above width simulate 2 finger touch. - value=pad-pixels
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
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
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 500 # stabilize 2 finger actions - value=pad-pixels
xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 0 # 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)
#xinput --set-button-map "SynPS/2 Synaptics TouchPad" 2 1 3 4 5 6 7 8 9 # swap Kod: Označi sve
[branko@localhost System]$ ./touchpad.sh
./touchpad.sh: line 4: http://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html#sect4: No such file or directory
./touchpad.sh: line 13: xinput: command not found
./touchpad.sh: line 14: Synaptics Two-Finger Pressure: command not found
./touchpad.sh: line 15: xinput: command not found
./touchpad.sh: line 16: Synaptics Two-Finger Width: command not found
./touchpad.sh: line 17: above: command not found
./touchpad.sh: line 18: xinput: command not found
./touchpad.sh: line 19: Synaptics Two-Finger Scrolling: command not found
./touchpad.sh: line 20: scrolling: command not found
./touchpad.sh: line 21: xinput: command not found
./touchpad.sh: line 22: Synaptics Edge Scrolling: command not found
./touchpad.sh: line 23: values:: command not found
./touchpad.sh: line 24: xinput: command not found
./touchpad.sh: line 25: Synaptics Jumpy Cursor Threshold: command not found
./touchpad.sh: line 27: xinput: command not found
./touchpad.sh: line 28: Synaptics Tap Action: command not found
./touchpad.sh: line 29: syntax error near unexpected token `('
./touchpad.sh: line 29: `fingers 1 2 3 (can't simulate more then 2 tap fingers AFAIK) - values: '