Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Apr 2020, 14:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
touchpad_onoff-0.1-all.pet
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
corvus


Joined: 12 Jun 2015
Posts: 156
Location: In the peninsula shaped like a boot.

PostPosted: 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
touchpad_onoff-0.1-all.pet
Description  Toggle touchpad if mouse is pluged in
pet

 Download 
Filename  touchpad_onoff-0.1-all.pet 
Filesize  635 Bytes 
Downloaded  18 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
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13482
Location: S.C. USA

PostPosted: 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 Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
corvus


Joined: 12 Jun 2015
Posts: 156
Location: In the peninsula shaped like a boot.

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

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.0357s ][ Queries: 12 (0.0123s) ][ GZIP on ]