[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pismo mouse questions and tangent



Thomas Peri wrote:
2) How can I control the tracking speed of the mouse (or trackpad in my case)?  I'm using fluxbox, and not KDE or Gnome.  Is there a way to do this just in X, without going through the KDE control panel, or gnome equivalent?

You can use xset in your ~/.xsession:

lulu:~% xset
usage:  xset [-display host:dpy] option ...
...
    To set mouse acceleration and threshold:
         m [acc_mult[/acc_div] [thr]]    m default

3) Another trackpad question: I want "notap" to be the default for my trackpad.  What is the best way to have this run every time the computer is started?  I suppose it might involve putting it in some rc*.d script, but I'm not clear on exactly what those are, or how they get invoked, etc.  Can anyone direct me to some literature on that as well?

I'd like to know the answer to this one, too.

Now that I think of it, I imagine you could write something like this as /etc/init.d/trackpad:

#! /bin/sh
#

NAME=trackpad
TRACKPAD=/sbin/trackpad

test -x $TRACKPAD || exit 0

set -e

case "$1" in
  start)
        echo -n "Disabling tap on trackpad"
        $TRACKPAD notap
        echo "."
        ;;
  stop)
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start}" >&2
        exit 1
        ;;
esac

exit 0


And then use update-rc.d to make it run on boot.
But that feels like I'm abusing something...



Reply to: