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:
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: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
first, create , save file (i called trackpad) in /etc/init.d/ these contents:
then make file executable: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 run on startup:code:chmod +x /etc/init.d/trackpad
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.code:update-rc.d trackpad defaults
okay way easier thought. there 3 simple steps make trackpad work.
1. create file , save wherever want these contents:
2. make executable chmod +xcode:#!/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
3. add file startup applications in system>preferences>startup applicationscode:sudo chmod +x /path/to/file
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] startup script for trackpad
Ubuntu
Comments
Post a Comment