Skip to main content

Linux Touchpad


A simple tool with one job: disable the touchpad on a laptop when a mouse is plugged in.

Requires

Python >= 3.6

python -V  # to check

libinput to manage the devices.

Install

Recommended

The easiest way to get it is through the install script. This will add it to your ~/.local/bin and configure it to run on startup.

curl -sSL https://raw.githubusercontent.com/Zer0897/linux-touchpad/master/install.py | python

Alternatively

It can be done through pip, but you won't get the config setup.

pip install linux-touchpad

Uninstall

# Get the file
curl -sSL https://raw.githubusercontent.com/Zer0897/linux-touchpad/master/install.py > ~/Downloads/install.py
# Make it executable
chmod 777 ~/Downloads/install.py
# Run the uninstaller
python ~/Downloads/install.py --uninstall

Installing Without Startup Behavior

Get the file as shown above, then run:

python ~/Downloads/install.py --no-autostart

Usage

To begin:

linux-touchpad start&

Or if installed with pip:

python -m linux-touchpad start&

While running, this will toggle the touchpad on and off:

linux-touchpad toggle

Tip: Set this command to a keyboard shortcut for maximum convenience

Finally, to stop the process entirely:

linux-touchpad kill

Author

Noah Corona | noah@coronsoftware.net

Metadata

Release files for linux-touchpad 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linux-touchpad 0.2.2
File Size Uploaded
linux-touchpad-0.2.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linux-touchpad 0.2.2
File Interpreter ABI Platform
linux_touchpad-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / linux-touchpad-0.2.2.tar.gz

Download URL linux-touchpad-0.2.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c8920235c6f951e2a7628ee63c2434506b8b763b8acbcac46170add99722aace
BLAKE2b-256 checksum
How to use checksums
b90015c88dc92866d337e5883be3ceedc792045e39cae85e960f020e7026543d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.14 CPython/3.7.3 Linux/4.18.0-18-generic

Release files / linux_touchpad-0.2.2-py3-none-any.whl

Download URL linux_touchpad-0.2.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
722392b25e6691e1c8afdfad9edf5e520b894d1f55ad54d7b1e907a1332dce5d
BLAKE2b-256 checksum
How to use checksums
3d56a1f498d61f8ea8f97c6f3aa66eb7da546724da936aea345cfbc88b722995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.14 CPython/3.7.3 Linux/4.18.0-18-generic

Release history Release notifications | RSS feed

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page