Skip to main content

Thread: startup script for trackpad


in order trackpad's (eeepc 1201n, ubuntu desktop 10.04) multitouch scrolling work, paste these commands terminal every time start machine:
code:
xinput set-int-prop "synps/2 synaptics touchpad" "two-finger scrolling" 8 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger scrolling" 8 1 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger pressure" 32 10  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger width" 32 8
i want turn script runs on startup , process seems "proper way" isn't working me hoping fill me in i'm doing wrong. here steps take:

first, create , save file (i called trackpad) in /etc/init.d/ these contents:
code:
#!/bin/sh  xinput set-int-prop "synps/2 synaptics touchpad" "two-finger scrolling" 8 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger scrolling" 8 1 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger pressure" 32 10  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger width" 32 8
then make file executable:
code:
chmod +x /etc/init.d/trackpad
then make run on startup:
code:
update-rc.d trackpad defaults
after things , restart machine, nothing different. can still use synaptic side scrolling or enter commands manually terminal , multitouch again. i'm pulling hair out on because know i'm dumb , simple wrong.

okay way easier thought. there 3 simple steps make trackpad work.

1. create file , save wherever want these contents:
code:
#!/bin/sh  xinput set-int-prop "synps/2 synaptics touchpad" "two-finger scrolling" 8 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger scrolling" 8 1 1  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger pressure" 32 10  xinput set-int-prop "synps/2 synaptics touchpad" "synaptics two-finger width" 32 8
2. make executable chmod +x
code:
sudo chmod +x /path/to/file
3. add file startup applications in system>preferences>startup applications


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] startup script for trackpad


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support