LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2021, 12:43 AM   #1
questionsBot
Member
 
Registered: Jun 2020
Posts: 104

Rep: Reputation: Disabled
Debian - syndaemon dose not seem to control my trackpad? (Turn off while typing / when mouse plugged in)


I would like to add some functionality to deal with enabling and disabling the mouse-track-pad in various situations...

1) Turn off the mouse-track-pad whenever a mouse is plugged into the computer

2) Turn off the mouse-track-pad when I am typing, then turn it back on when I am no longer typing.

xinput list
Code:
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Kensington Expert Wireless TB Mouse     	id=9	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Kensington Expert Wireless TB Consumer Control	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ HP WMI hotkeys                          	id=13	[slave  keyboard (3)]
I can turn off the trackpad with this command...
Code:
xinput set-prop 12 "Device Enabled" 0
xinput set-prop 12 "Device Enabled" 1
I have been trying to use syndaemon to get the functionality of turning off the trackpad while running.. but it does not seem to do anything at all.

Code:
syndaemon -i .5 -K -t -R -d &
Any ideas.. I am using debian and would prefer to not install something outside of the official repositories.
 
Old 08-06-2021, 11:53 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,029
Blog Entries: 27

Rep: Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524
Most likely if this is a recent install it's using libinput to control the touchpad, not synaptics. Syndaemon only works on synaptics drivers to my knowledge, and does nothing for libinput.

You should see if it supports it in libinput with
Code:
xinput list-props <id>
and then set it through that.

Last edited by Timothy Miller; 08-06-2021 at 11:55 AM.
 
Old 08-16-2021, 09:52 PM   #3
moraashley
LQ Newbie
 
Registered: Aug 2021
Posts: 1

Rep: Reputation: Disabled
Thanks for the solution. That works!
 
Old 08-17-2021, 02:09 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by moraashley View Post
Thanks for the solution. That works!
Must be a spammer.

Anyhow, about the topic:
A touchpad isn't necessarily a synaptics compatible touchpad, and syndaemon will work only on those.
To find out what you have,just execute
Code:
synclient
without any options

edit: OK, Tim Miller kinda said the same thing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GNOME: How To Disable The Touchpad When A Mouse Is Plugged In And While Typing LXer Syndicated Linux News 0 06-04-2021 03:22 AM
LXer: How To Disable Touchpad While Typing In Ubuntu Using Syndaemon Program LXer Syndicated Linux News 0 03-10-2020 05:30 PM
[SOLVED] syndaemon and disabling touchpad while typing stormtracknole Slackware 5 06-02-2018 01:09 PM
Toshiba Wireless Keyboard with built in "trackpad" - Trackpad not working. plowers Linux - Newbie 1 11-02-2010 11:12 PM
Un-plugged PS/2 mouse then plugged it into usb. mouse now dead deathman Mandriva 2 11-20-2006 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration