Logitech-Marble-Labwc
A configuration utility to enable scroll wheel emulation and custom button remapping for the Logitech Trackman Marble (T-BC21) trackball in the labwc Wayland compositor.
Features
- Interactive Configuration: Choose from 3 button mapping profiles.
- Scroll Emulation: Hold the designated small button and spin the trackball to scroll vertically or horizontally.
- Middle Click Mapping: Map the other small button to a dedicated Middle Click (simulating a scroll wheel click) for easy tab opening and pasting.
- Auto Configuration: Automatically detects and updates your
~/.config/labwc/rc.xmlfile, backing up your existing configuration beforehand. - System-wide integration: Automates the setup of necessary hardware database (
udevhwdb) rules for middle-click emulation.
Button Profiles
- Double Scroll (Default): Both small buttons act as scroll emulation triggers (original behavior).
- Scroll / Middle Click: The left small button enables scrolling; the right small button acts as a dedicated Middle Click.
- Middle Click / Scroll: The left small button acts as a dedicated Middle Click; the right small button enables scrolling.
Installation
Option 1: Debian Package (Pi/Ubuntu/Debian)
Download the latest .deb file from the Releases page and install it:
sudo apt update
sudo apt install ./logitech-marble-labwc_1.1.2_all.deb
Once installed, run the configuration utility:
logitech-marble-labwc
Note: If you select a middle-click option (Option 2 or 3), the utility will request root (sudo) permissions to configure the hardware button mapping.
Option 2: Run directly
- Clone the repository:
git clone https://github.com/ldl805/Logitech-Marble-Labwc.git cd Logitech-Marble-Labwc
- Run the installer:
python3 install.py
License
MIT License
Release files for logitech-marble-labwc 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| logitech_marble_labwc-1.2.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logitech_marble_labwc-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / logitech_marble_labwc-1.2.0.tar.gz
| Download URL | logitech_marble_labwc-1.2.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1efd4d9e4e1d0eab6eb52aee47d5a1b0a856eb8ed450094098e94a2a42300b5
|
|
BLAKE2b-256 checksum How to use checksums |
5c348107f498238f4658fd4b670919bfb9f718af91f8f273c7aa04ba9827c00b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency logRelease files / logitech_marble_labwc-1.2.0-py3-none-any.whl
| Download URL | logitech_marble_labwc-1.2.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cff9239c07b5b06161bdca3683ca20989734f2794211a8103ca445e43196c27
|
|
BLAKE2b-256 checksum How to use checksums |
9dd68421ba34f79c5fd673e0f6cc2e87ef7b98fe9ddfd9e17f59297ae35e7463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency log