Choose style:

Author Topic: Optionally disable the Touchpad a laptop  (Read 1580 times)

0 Members and 1 Guest are viewing this topic.

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Optionally disable the Touchpad a laptop
« 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

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
"Those that don't know pay for it. My currency is pride"

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1002
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Optionally disable the Touchpad a laptop
« Reply #1 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.  :)
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25659
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Optionally disable the Touchpad a laptop
« Reply #2 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).
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Optionally disable the Touchpad a laptop
« Reply #3 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.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25659
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Optionally disable the Touchpad a laptop
« Reply #4 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 ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5305
  • Karma: 943
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Optionally disable the Touchpad a laptop
« Reply #5 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?

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Optionally disable the Touchpad a laptop
« Reply #6 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
« Last Edit: July 30, 2018, 09:33:28 pm by Brotherred »
"Those that don't know pay for it. My currency is pride"

Offline peppycrab

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Optionally disable the Touchpad a laptop
« Reply #7 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,
« Last Edit: July 30, 2018, 11:07:29 pm by peppycrab »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Optionally disable the Touchpad a laptop
« Reply #8 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.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Online VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5305
  • Karma: 943
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Optionally disable the Touchpad a laptop
« Reply #9 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  ;)

Offline Lord Rodin

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Optionally disable the Touchpad a laptop
« Reply #10 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
« Last Edit: September 26, 2018, 05:22:47 pm by Lord Rodin »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1002
  • Karma: 56
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Optionally disable the Touchpad a laptop
« Reply #11 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.

What was I thinking?

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Optionally disable the Touchpad a laptop
« Reply #12 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

"Those that don't know pay for it. My currency is pride"

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Optionally disable the Touchpad a laptop
« Reply #13 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

"Those that don't know pay for it. My currency is pride"

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Optionally disable the Touchpad a laptop
« Reply #14 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?