Thursday, May 03, 2012

Set trackpoint speed and sensitivity automatically in Ubuntu 12.04 live CD

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: