How to auto disable the synaptic touchpad if usb mouse present?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to auto disable the synaptic touchpad if usb mouse present?
Hi all
Is there a way to disable the synaptic touchpad automatically if a usb mouse is plugged into the laptop? This touchpad gets in the way when typing and I mainly use my laptop with an usb mouse connected anyway.
Would like to have the touchpad disabled if an usb mouse is present.
Wow, I was actually thinking about doing the same thing too last night and stumbled upon a similar thread here http://www.linuxquestions.org/questi...inkpad-864828/. I figured since I was on the same path until I found out that there's a way to disable the Touchpad momentarily while I'm typing through the use of syndaemon I might as well post it here. The parameters I use for syndaemon are:
# -i 2 - sets idle time to 1 seconds - specifies how many seconds to
# wait after the last key-press before enabling the touchpad again.
#
# -t - don't disable mouse movement when typing and only disable
# tapping and scrolling
#
# -k - ignore modifier keys when monitoring keyboard activity (ie:
# allows ctrl+left click)
#
# -d - starts as a daemon in the background
Wow, I was actually thinking about doing the same thing too last night and stumbled upon a similar thread here http://www.linuxquestions.org/questi...inkpad-864828/. I figured since I was on the same path until I found out that there's a way to disable the Touchpad momentarily while I'm typing through the use of syndaemon I might as well post it here. The parameters I use for syndaemon are:
# -i 2 - sets idle time to 1 seconds - specifies how many seconds to
# wait after the last key-press before enabling the touchpad again.
#
# -t - don't disable mouse movement when typing and only disable
# tapping and scrolling
#
# -k - ignore modifier keys when monitoring keyboard activity (ie:
# allows ctrl+left click)
#
# -d - starts as a daemon in the background
Hello,
I had similar problem too some time ago. Here is my thread, that may be of use to you. My touchpad was Alps, but the method used should fit any touchpads.
That happened when you ran the command as root? If so you may (I am not very sure abut this) need your GUI user to allow access by running [[ $DISPLAY ]] && /usr/bin/xhost +localhost during logon and root to export DISPLAY=':0.0' before running the command (change :0.0 to the GUI user's $DISPLAY value).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.