Option to turn off touch pad when a mouse is attached

Bug #92175 reported by Jens Askengren
4
Affects Status Importance Assigned to Milestone
gnome-volume-manager
New
Undecided
Unassigned
gnome-volume-manager (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: gnome-volume-manager

It would be great if gnome-volume-properties could offer an option to automatically turn on/off the touchpad when a mouse is attached/removed.

Today i'ts possible to specify a command to run when a mouse is plugged in. I use:

  synclient TouchpadOff=1

But the touchpad will remain turned off when you remove the mouse.

Revision history for this message
aceJacek (acejacek) wrote :

I attached this script as the one to be executed when mouse is connected:

#!/bin/sh
mouse=`lsusb | grep Mouse`
if [ "$mouse" != "" ]; then
    `synclient TouchpadOff=1`
    echo "off" > /tmp/touchpad_status
else
    `synclient TouchpadOff=0`
    echo "on" > /tmp/touchpad_status
fi

File "/tmp/touchpad_status" is updated only when mouse is connected (either hot or cold plugged).
There is no reaction form this script when mouse is disconnected.

It seems that gnome-volume-manager notices only connections of USB mouse not disconnedctions.

Daniel T Chen (crimsun)
Changed in gnome-volume-manager:
importance: Undecided → Wishlist
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.