Peppermint OS Community Forum

Support => Hardware => Topic started by: Brotherred on July 29, 2018, 09:06:38 pm

Title: Optionally disable the Touchpad a laptop
Post by: Brotherred on July 29, 2018, 09:06:38 pm
On my Touchsmart M6 I have a very sensitive touch pad. Or just not one that is 15 years old. Anyway I found the thread  below very useful a few days ago. Then I just now happened to find the very add-on that the user was wishing would come in a stock installation. Right now I have my touch pad automatically disabled because I have a mouse plugged in. But even with out a mouse plugged in I have the touchpad set to turn off as soon as I start typing!

Here is the original post that I found very useful. I post it for context.
https://forum.peppermintos.com/index.php/topic,5863.msg59131.html#msg59131 (https://forum.peppermintos.com/index.php/topic,5863.msg59131.html#msg59131)

Then just now I happened to find this extremely useful add-on.
https://itsfoss.com/disable-touchpad-when-mouse-used/

I hope that it helps others as much as me. Regards
Title: Re: Optionally disable the Touchpad a laptop
Post by: alynur on July 29, 2018, 10:24:19 pm
Thanks Brotherred, I'll have to give this a try when I'm on laptop, My thumbs are always getting in the way.  :)
Title: Re: Optionally disable the Touchpad a laptop
Post by: PCNetSpec on July 30, 2018, 04:43:15 am
Hmm, this might make a good addition to the default repos and possibly an OOTB default in Peppermint 9 respin (or 10).
Title: Re: Optionally disable the Touchpad a laptop
Post by: peppycrab on July 30, 2018, 06:36:08 am
I haven't followed the links, so I may be panicking for nothing....
Please. if you integrate this into future Peppermints, make it optional.
I am one that prefers touch pads to mice. I learned computing on a laptop. I can function with a mouse, but  prefer to use a touch pad, especially when traveling.
Title: Re: Optionally disable the Touchpad a laptop
Post by: PCNetSpec on July 30, 2018, 08:22:09 am
We'd never force one or the other .. from the look of things that's what this does, it gives you options not removes them ;)
Title: Re: Optionally disable the Touchpad a laptop
Post by: VinDSL on July 30, 2018, 06:43:42 pm
I am one that prefers touch pads to mice. I learned computing on a laptop. I can function with a mouse, but  prefer to use a touch pad, especially when traveling.

I learned computing on a QWERTY keyboard - pure ASCII, baby - graphics and all.  ;D

Took me a few years to get used to both mouses and trackpads, but I still haven't found a use for those 'pointing sticks' in the middle of the keyboards yet. Must be missing something, somewhere.

I actually prefer Kensington trackballs over all other pointing devices - the bigger the better - but who wants to lug one of those around?
Title: Re: Optionally disable the Touchpad a laptop
Post by: Brotherred on July 30, 2018, 09:30:54 pm
Peppycrab, so your thumbs or wrist don't get in the way? For me, my wrists are a problem.

Sent from my SM-N920V using Tapatalk
Title: Re: Optionally disable the Touchpad a laptop
Post by: peppycrab on July 30, 2018, 11:05:23 pm
I haven't had any problems with either wrist or thumbs. Maybe because I learned on a touchpad,
Title: Re: Optionally disable the Touchpad a laptop
Post by: AndyInMokum on July 31, 2018, 01:47:52 am
...I learned computing on a QWERTY keyboard - pure ASCII, baby - graphics and all.  ;D

Took me a few years to get used to both mouses and trackpads, but I still haven't found a use for those 'pointing sticks' in the middle of the keyboards yet. Must be missing something, somewhere.

I actually prefer Kensington trackballs over all other pointing devices - the bigger the better - but who wants to lug one of those around?

A long time ago, I was taking an IT City & Guilds course.  City & Guilds are English trade/technical certificates/diplomas.  I wasn't allowed near a computer, until I'd completed an old fashioned Pitman typing course.  It was all done on an old Brother electric typewriter - clunk, cluck, clunk  :o.  It was worth all the aggravation because I touch type really well  ;).  I agree, those Kensington Trackballs are the business.  The downside being, they're big and expensive and I'm not sure if they work with Linux.  Lovely to use though  ;). 

I've found a use for the keyboard joystick thingamajig.  When writing text, it's often necessary to reset the text cursor position.  The mouse cursor ends up obscuring the text cursor.  A quick flick, or nudge on the joystick thingamajig and the mouse cursor is out of the way - perfect  :D.
Title: Re: Optionally disable the Touchpad a laptop
Post by: VinDSL on July 31, 2018, 06:55:13 am
I've found a use for the keyboard joystick thingamajig.  When writing text, it's often necessary to reset the text cursor position.  The mouse cursor ends up obscuring the text cursor.  A quick flick, or nudge on the joystick thingamajig and the mouse cursor is out of the way - perfect  :D.

Never thought about that. I'll give it a try. Thanks, Andy  ;)
Title: Re: Optionally disable the Touchpad a laptop
Post by: Lord Rodin on August 05, 2018, 09:18:56 pm
Run the following command in a terminal:

xinput list

You will get an output that looks like this:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [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)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_1.3M             id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

It displays all the input devices connected. Note that they all have an id. Since 12 is the id for my touchpad, running the following command will disable it

xinput --disable 12

It will be disabled until you reboot or optionally

xinput --enable 12
Title: Re: Optionally disable the Touchpad a laptop
Post by: alynur on August 11, 2018, 12:04:59 pm
I'm currently using this method to disable the touchpad when I plug in a mouse on my Samsung laptop and it works real nice EXCEPT when I unplug the mouse and want to use the touchpad again. I lose some of the touchpad's abilities and two finger scrolling becomes reversed I think, my memory could be causing me to believe that. But I do lose the ability to use the touchpad as enter by tapping it.

Title: Re: Optionally disable the Touchpad a laptop
Post by: Brotherred on August 16, 2018, 08:56:16 pm
Run the following command in a terminal:

xinput list

You will get an output that looks like this:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [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)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_1.3M             id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

It displays all the input devices connected. Note that they all have an id. Since 12 is the id for my touchpad, running the following command will disable it

xinput --disable 12

It will be disabled until you reboot
That's awesome.

Sent from my SM-N920V using Tapatalk

Title: Re: Optionally disable the Touchpad a laptop
Post by: Brotherred on August 16, 2018, 08:59:54 pm
Run the following command in a terminal:

xinput list

You will get an output that looks like this:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [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)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_1.3M             id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

It displays all the input devices connected. Note that they all have an id. Since 12 is the id for my touchpad, running the following command will disable it

xinput --disable 12

It will be disabled until you reboot
That's awesome.

Sent from my SM-N920V using Tapatalk
BTW Remembering "Everything in Linux is a file"

Sent from my SM-N920V using Tapatalk

Title: Re: Optionally disable the Touchpad a laptop
Post by: pepperOS on August 23, 2018, 10:40:54 am
i was looking for an answer to this to and found something that seems to be in the xserver-xorg-input-synaptics
Synaptics TouchPad driver for X.Org server.1.9.0-1ubuntu1


 * It also provides a daemon to disable touchpad while typing at the keyboard
   and thus avoid unwanted mouse movements (see syndaemon(1))

i know that my dell E6320 has a FN F5 function key to disable the touchpad ut that does not seem to work.
so how can i activate this above mention t function?
Title: Re: Optionally disable the Touchpad a laptop
Post by: PCNetSpec on August 23, 2018, 12:13:33 pm
See here:
https://forum.peppermintos.com/index.php/topic,1239.0.html
Title: Re: Optionally disable the Touchpad a laptop
Post by: pepperOS on August 24, 2018, 06:35:42 am
Thank you, great howto and works!
Title: Re: Optionally disable the Touchpad a laptop
Post by: PCNetSpec on August 24, 2018, 06:59:09 am
Glad it helped :)
Title: Re: Optionally disable the Touchpad a laptop
Post by: Lord Rodin on September 19, 2018, 12:12:57 pm
you can re-enable it by running xinput --enable 12 based on my earlier post
Title: Re: Optionally disable the Touchpad a laptop
Post by: Brotherred on September 19, 2018, 12:43:20 pm
The touch pad indicator provides a nice UIA for all that.

Sent from my SM-N920V using Tapatalk