On 09/19/2011 04:28 PM, William Shu wrote:
Hi,
I have SL 6.0 installed on a Seagate FreeAgent GoFlex USB drive, which I use on various laptops (and desktops). The touchpad is so sensitive on some machines and I would like to disable it. At the same time, the attached mouse seems to be selectively responsive, notably its left button. Looking through the docs etc, a synaptics input driver has been installed, but the corresponding xorg.conf file is not in place for me to modify. (From a separate thread on nVidia, creating this file is NOT automatic in SL 6.)
 

Hi William,

This is probably not exactly what you wanted.  But, anyway...

I have a sweet little old lady (70+) on FC15 that the slide pad drives
her crazy.  She is constantly putting her had down on it when she types.
She prefers to use her USB attached mouse.  So I wrote the following
script for her.  I don't remember where I put it though.  Maybe her
rc.local.

HTH,
-T

#!/bin/bash
#Disable the [annoying] Slide Pad mouse

#DeviceStr="`xinput list | grep -i touchpad | awk '{print $6}'`"
#DeviceID="`echo $DeviceStr | sed -e 's/id=//'`"

DeviceID="`xinput list | grep -i touchpad | awk -F "id=" '{print $2}'`"
if [ -z "$DeviceID" ]; then
   echo "DeviceID failed to resolve.  There is something wrong."
   echo "Cowardly exiting.  Bummer, dude ..."
   echo ""
   exit 1
fi

xinput set-prop $DeviceID "Device Enabled" 0
echo "touchpad mouse on device id $DeviceID has been disabled"
echo ""

Reply via email to