View Single Post
  #2 (permalink)  
Old 11-Mar-2008, 10:02
BNG22908
Guest
 
Posts: n/a
Default

This might help:
From the Gentoo Forums: http://gentoo-wiki.com/HOWTO_Install_Gento..._on_an_iBook_G3
Quote:
Trackpad tapping can get in the way of typing. The PPC trackpad command is necessary to disable it.

emerge powerpc-utils
trackpad notap

A simple bash script can constantly monitor whether notapping is enabled and re-enable it (notapping gets disabled during sleep). Also an init script can be used to start it at boot. Place this bash script in /usr/bin.

#!/bin/bash

while true
do
echo 'Testing if trackpad tapping is on.'
if trackpad show | grep "settings tap" >/dev/null
then
echo "Trackpad tapping on, turning off"
trackpad notap; else
echo "Trackpad notap funtioning. 15 second till next test."
sleep 15
fi
done

Create init script in /etc/init.d/ called touchpad-notap with this information:

#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2


depend() {
need
use
}

start() {
ebegin "Starting Touchpad Daemon"
nohup /usr/bin/touchpad-notap-daemon &> /dev/null &
}

stop() {
ebegin "Stopping Touchpad Daemon"
killall touchpad-notap-daemon
}

sudo rc-update add touchpad-notap default
[/b]