Controlling-Laptop-Touchpads, Part Two

Moderators: wizard, Forum moderators

Locked
User avatar
rockedge
Site Admin
Posts: 6915
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3050 times
Been thanked: 2857 times
Contact:

Controlling-Laptop-Touchpads, Part Two

Post by rockedge »

revision 250212

This topic assumes you are using one of the recommended distro's or remasters.

This is an advanced topic.

For those who are continually hitting the touchpad while typing, the easy thing to do is just turn it off and use an external mouse. However, if you find you want or have to use the touchpad there are some scripts and settings that can ease the annoyance.

TPdisable.sh disables the touchpad while typing.

TPdisable.sh.gz
(164 Bytes) Downloaded 141 times
  1. -Download the file
    -Rename as Tpdisable.sh
    -Right click file>Permissions>Make executable
    -Copy to: /root/Startup/Tpdisable.sh

  2. Click it to test.

The disable time can be adjusted by editing the file if desired.

If Tpdisable.sh does not work or you want more positive control of the pad try touchpad-toggle.sh. Touchpad-toggle turns the pad on or off and is best used when assigned to a hotkey.

touchpad-toggle.sh.gz
(393 Bytes) Downloaded 160 times

-Download the file
-Rename as touchpad-toggle.sh
-Right click file>Permissions>Make executable
-Copy to: /root/my-applications/bin/touchpad-toggle.sh
-Menu>Desktop>JWMDesk Manager>JWM Hotkey>Add new shortcut

In this example the hotkey is set to: alt z

  1. click Apply

  2. click Close

  3. click Quit

  4. Now pressing alt z will turn the touchpad off or on.

tp-toggle.jpg
tp-toggle.jpg (30.14 KiB) Viewed 4187 times

Need more help? Join the forum and post your questions in Beginners Help.

Author: wizard

Last edited by wizard on Wed Feb 12, 2025 2:10 pm, edited 1 time in total.
Reason: Add rename and permission notes
Locked

Return to “Getting Started and System Requirements”