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 Sat 18 Jan 2020, 17:17
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to disable the touch-pad while using a USB mouse?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
memo

Joined: 28 Jun 2018
Posts: 168

PostPosted: Mon 25 Nov 2019, 07:15    Post subject:  How to disable the touch-pad while using a USB mouse?
Subject description: (Solved)
 

hi all,

I am trying to disable the touch-pad while connecting the usb mouse but I keep getting an error ( screenshot). the main reason is that while i am typing my hand keep accidentally touch the touch-pad and i find my self writing the reset of the sentence in totally different area.

thanks!
Screenshot_2019-11-25_12-15-01.png
 Description   
 Filesize   34.19 KB
 Viewed   136 Time(s)

Screenshot_2019-11-25_12-15-01.png

Screenshot_2019-11-25_12-12-56.png
 Description   
 Filesize   68.61 KB
 Viewed   136 Time(s)

Screenshot_2019-11-25_12-12-56.png

Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1861
Location: not Bulgaria

PostPosted: Mon 25 Nov 2019, 09:18    Post subject:  

Sometimes the touchpad is more like a Generic PS/2 mouse and synclient method won't work. Instead you can use xinput command per the following link (note that if your system doesn't have xinput command you will have to install xinput package, it's tiny).
There is a problem that the device id can change on reboots so you really need to grep for the PS/2 mouse line in 'xinput list' (EDIT: or --set-prop method below worked for me in quick test). I would give you a simple script I wrote that works but it's on another laptop which isn't here at the moment and I can't re-write just now since couldn't check it on this machine. Anyway, link to read is (you need to scroll down to see the xinput method):

https://askubuntu.com/questions/67718/how-do-i-disable-a-touchpad-using-the-command-line

The following may fill in the detail:

https://www.howtoforge.com/how-to-auto-disable-the-touchpad-when-the-mouse-is-plugged-in-fedora-13

Depending on your system hardware, one of the following simple commands 'might' work (0 for disable, 1 for enable), assuming you have xinput command available/installed of course (on BionicDog "apt install xinput" installs it, not sure about Pup systems):

Code:
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0

xinput --set-prop "PS/2 Generic Mouse" "Device Enabled" 0


wiak

_________________
New Puppy/Dog forum: https://puppylinux.rockedge.org
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Back to top
View user's profile Send private message 
memo

Joined: 28 Jun 2018
Posts: 168

PostPosted: Mon 25 Nov 2019, 10:13    Post subject:  

Thanks wiak for your help. however the codes you have provided are not working. I have attached a screenshot as well to the error I got.
Screenshot_2019-11-25_15-12-54.png
 Description   
 Filesize   16.5 KB
 Viewed   104 Time(s)

Screenshot_2019-11-25_15-12-54.png

Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 658
Location: Bretagne / France

PostPosted: Mon 25 Nov 2019, 13:50    Post subject:  

Hi,
That work for me
Code:

synclient TouchpadOff=1

_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
memo

Joined: 28 Jun 2018
Posts: 168

PostPosted: Tue 26 Nov 2019, 15:13    Post subject:  

fabrice_035 wrote:
Hi,
That work for me
Code:

synclient TouchpadOff=1



thanks!

it was something wrong in my installation, I had to do clean installation!
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13457
Location: Arizona USA

PostPosted: Tue 26 Nov 2019, 19:32    Post subject:  

So reinstalling your Puppy fixed the problem?
Back to top
View user's profile Send private message 
memo

Joined: 28 Jun 2018
Posts: 168

PostPosted: Wed 27 Nov 2019, 10:03    Post subject:  

Hi flash,

yes fresh installation seems to solve the problem after many trials and errors.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0399s ][ Queries: 12 (0.0061s) ][ GZIP on ]