The following shows how.
ubuntu@ubuntu:~$ cat tpctrl.sh
echo -n 120 > /sys/devices/platform/i8042/serio1/speed
echo -n 250 > /sys/devices/platform/i8042/serio1/sensitivity
ubuntu@ubuntu:~$ tail .profile
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
sudo sh ~/tpctrl.sh
ubuntu@ubuntu:~$
No comments:
Post a Comment