Announcement

Collapse
No announcement yet.

Disable touchpad - (while using BT mouse)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Disable touchpad - (while using BT mouse)

    i know synaptics does work for disabling a touchpad a (when a reg mouse is detected).
    But i often use a bluetooth mouse and need to disable the touchpad.
    Script or idea?

    Kubuntu 12.10

    #2
    Originally posted by lancest View Post
    Script or idea?
    Try this:
    Code:
    synclient TouchpadOff=1
    If you know (or want to learn) Udev, you might figure a way to automate this. The following Udev rule works for other kinds of external mice; not sure about Bluetooth:
    Code:
    ACTION=="add", SUBSYSTEM=="input", KERNEL=="mouse[0-9]", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/[i]your-user-name[/i]/.Xauthority", ENV{ID_CLASS}="mouse", ENV{REMOVE_CMD}="/usr/bin/synclient TouchpadOff=0", RUN+="/usr/bin/synclient TouchpadOff=1"
    Save in /etc/udev/rules.d/01-touchpad.rules. (Source)

    Comment

    Working...
    X