Start up track-point speed/sensitivity script 18.3 Sylvia

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
napoly

Start up track-point speed/sensitivity script 18.3 Sylvia

Post by napoly »

Hi Minters!

First post here. Having this script works fine to adjust my track-point sensitivity and speed:

Code: Select all

cd /sys/devices/platform/i8042/serio1/serio2
sudo su
echo 255 > speed
echo 255 > sensitivity
but I can not set it as a start up script. I have followed this link https://askubuntu.com/questions/137528/ ... trackpoint . I created trackpoint.conf and added in /etc/init/. And this is the content:

Code: Select all

description "Trackpoint-Settings"
env TPDIR=/sys/devices/platform/i8042/serio1/serio2
start on virtual-filesystems
script
  while [ ! -f $TPDIR/sensitivity ]; do
        sleep 2
  done
  echo -n 200 > $TPDIR/sensitivity
  echo -n 150 > $TPDIR/speed
end script
but no luck.. any ideas what I'm doing wrong?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Beginner Questions”