The time now is Thu 28 Jan 2021, 07:18
All times are UTC - 4 |
Author |
Message |
corvus

Joined: 12 Jun 2015 Posts: 156 Location: In the peninsula shaped like a boot.
|
Posted: Sun 08 Mar 2020, 13:42 Post subject:
touchpad_onoff-0.1-all.pet Subject description: Activate/deactivate the touchpad based on the presence/absence of the mouse |
|
Good evening everyone, below a utility that serves to enable/disable the touchpad, that works with the synaptics driver, depending on the presence/absence of the mouse. It is based on an udev rule. I use it on Bionicpup64 but it should also work on the 32 bit version.
Edit: In the file /etc/udev/rules.d/99-togglemouse.rules the ATTRS{idProduct} and ATTRS{idVendor} part must be adapted with the specifications of your mouse, that can be obtained with the command: Code: | lsusb | grep -i mouse | .
Remember that the first part of the hexadecimal code represents the idVendor and the second part the idProduct.
Unfortunately, despite the various solutions proposed on the web, I could not find a way to adapt the udev rule to a generic mouse.
Greetings
Description |
Toggle touchpad if mouse is pluged in
|

Download |
Filename |
touchpad_onoff-0.1-all.pet |
Filesize |
635 Bytes |
Downloaded |
216 Time(s) |
_________________ We are waves of the same sea, leaves of the same tree, flowers of the same garden.
Last edited by corvus on Sun 08 Mar 2020, 18:43; edited 2 times in total
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 08 Mar 2020, 15:37 Post subject:
|
|
That pet is small.
You can attach it to the first post, so it can be directly downloaded from the forum.
The forums max file size limit is 256K.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
corvus

Joined: 12 Jun 2015 Posts: 156 Location: In the peninsula shaped like a boot.
|
Posted: Sun 08 Mar 2020, 17:14 Post subject:
|
|
Thanks bigpup for the tip.
Cheers
_________________ We are waves of the same sea, leaves of the same tree, flowers of the same garden.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.3506s ][ Queries: 12 (0.3076s) ][ GZIP on ] |