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
Note - If startup behavior is enabled (default), it will automatically start when you login.
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 mamimum convenience
Finally, to stop the process entirely:
linux-touchpad kill
Author
Noah Corona | noah@coronsoftware.net
Metadata
Release files for linux-touchpad 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linux-touchpad-0.1.4.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linux_touchpad-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / linux-touchpad-0.1.4.tar.gz
| Download URL | linux-touchpad-0.1.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3089968b6f9f1ba8c9e2459b56f8c52a2fa90ac94caab721017f8ab815b73763
|
|
BLAKE2b-256 checksum How to use checksums |
cd9390d63c4b3cc6d177e3713027b0edb1f5ae6de005da67f1e4459ddffcd8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.3 Linux/4.18.0-17-generic
|
Release files / linux_touchpad-0.1.4-py3-none-any.whl
| Download URL | linux_touchpad-0.1.4-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee438dbefdb79238128afcbc41d49e9f6ea895d99accff13451532cc3e3dd4ca
|
|
BLAKE2b-256 checksum How to use checksums |
8e345255e2ea1d0b538afb929db0ddc31f85bed37468c52f8f7d932e4c06d944
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.3 Linux/4.18.0-17-generic
|