Command works partially when run from startup applications
Posted
by
Gaurav Butola
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Gaurav Butola
Published on 2010-11-15T16:52:19Z
Indexed on
2011/01/16
10:59 UTC
Read the original article
Hit count: 435
I have this script (or rather a set of commands which has permission to execute) to enable two finger scrolling and two finger tap = right click The script is located in /home/gaurav/Multigesture/multigesture.
When I run the following command in terminal, two finger scrolling and two finger tap = right click start working. I have to run this command each time I boot my laptop.
"/home/gaurav/Multigesture/multigesture"
So I put this command in the startup applications so that I dont have to run the command each time I boot but when I reboot two finger scrolling is not working, only two finger tap = right click works.
What could be the problem, If the command works fine from the terminal then how come it is working partially when i put it into startup applications.
Here is the content of the script
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
PS. the file which has all the commands (script's) name is multitouch
© Ask Ubuntu or respective owner