Welcome to the forums zeynel2 !
That device number may change with every reboot. It depends upon which of the keyboard or touchpad was probed first. So you should use its name string instead (within double-quotes). For example, my touchpad is listed as (in the output of "xinput") -
Originally Posted by zeynel2
So I would use "ETPS/2 Elantech Touchpad" instead of 13.
↳ ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
To make it load automatically at startup, you may add the command to your /etc/rc.local file, before the last line "exit 0". To make sure it is executed 'After' the touchpad is properly probed and activated, you may add a delay time (say, 6 seconds) before the command is automatically executed. Something like this -
Make sure the last line in the file remains "exit 0" (this is important!).
sleep 6 && xinput --set-prop "ETPS/2 Elantech Touchpad" "Synaptics Finger" 55 70 255
To be able to edit the file, you must open it with root access -
To do the same thing directly from terminal, you can use this command -
gksu gedit /etc/rc.local
(it is recommended to first use the above command without "sudo" and "-i" option (sed 's:^exit 0......) to see the result of the command in terminal without actually changing the file. If it is as expected, use again exactly as above.)
sudo sed -i 's:^exit 0:sleep 6 \&\& xinput --set-prop "ETPS/2 Elantech Touchpad" "Synaptics Finger" 55 70 255\n&:' /etc/rc.local