GNOME Bugzilla – Bug 685583
Touchpad disable button should not be shown when there is only a touchpad
Last modified: 2013-02-13 17:18:15 UTC
The new touchpad module has a button to disable the touchpad. This switch should not be shown when there is only a touchpad but no mouse available. Accidentally disabling the touchpad will cause confusion to new users. There is already a setting for disable touchpad while editing and no other use cases (that I am aware of) warrant such a button (when there is only one touchpad and no mouse).
At the same time, we also need to make sure that the touchpad gets re-enabled when the last mouse gets unplugged, and we need the toggle touchpad button not to work when there's only a touchpad present.
Created attachment 226234 [details] [review] mouse: Don't show touchpad disable button when there isn't mouse
Review of attachment 226234 [details] [review]: This needs to wait until the gnome-settings-daemon parts are fixed though (re-enabling the touchpad if it's the last pointer device present).
Attachment 226234 [details] pushed as 5b2818c - mouse: Don't show touchpad disable button when there isn't mouse
*** Bug 687511 has been marked as a duplicate of this bug. ***
*** Bug 689126 has been marked as a duplicate of this bug. ***
This won't work - if there's a PS/2 trackpad on the system, it'll also be reported as a mouse.
(In reply to comment #7) > This won't work - if there's a PS/2 trackpad on the system, it'll also be > reported as a mouse. As long as it's marked as a trackpad in udev, it'll be a trackpad in GNOME, and the above code will kick in. You'll need to get the right udev rules for your platform to tag the device as a trackpad.
I /think/ the only case where this will work as you want it to is on Thinkpads. On anything else, you'll have a single device and won't be able to tell whether it's a trackpad or a trackpad plus trackpoint.
*** Bug 693730 has been marked as a duplicate of this bug. ***