Skip to main content

Labwc scroll emulation for Logitech Trackman Marble

Project description

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.xml file, backing up your existing configuration beforehand.
  • System-wide integration: Automates the setup of necessary hardware database (udev hwdb) rules for middle-click emulation.

Button Profiles

  1. Double Scroll (Default): Both small buttons act as scroll emulation triggers (original behavior).
  2. Scroll / Middle Click: The left small button enables scrolling; the right small button acts as a dedicated Middle Click.
  3. 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.1_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

  1. Clone the repository:
    git clone https://github.com/ldl805/Logitech-Marble-Labwc.git
    cd Logitech-Marble-Labwc
    
  2. Run the installer:
    python3 install.py
    

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logitech_marble_labwc-1.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logitech_marble_labwc-1.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file logitech_marble_labwc-1.1.1.tar.gz.

File metadata

  • Download URL: logitech_marble_labwc-1.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for logitech_marble_labwc-1.1.1.tar.gz
Algorithm Hash digest
SHA256 73ce84b114bc04b6d2239750705b6741ac13ec99c13f038908182232b202da47
MD5 cbbee3316d3fca253e93edd17e8e0fe1
BLAKE2b-256 934f0166866dd865d9207db8b982b0142efcc2288f92ee51e576cd8ba63234bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for logitech_marble_labwc-1.1.1.tar.gz:

Publisher: python-publish.yml on ldl805/Logitech-Marble-Labwc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file logitech_marble_labwc-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for logitech_marble_labwc-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c20ea313791e6251204fdd7b49def2ee13b06a04d39c75d1f1b245c204a1a23
MD5 9fbef2b1c1586dfe96210a9949ca316b
BLAKE2b-256 1219a583b5e6c4acd7f358827cddd858c055be8a7d26fdf34244436cc0c6dc7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for logitech_marble_labwc-1.1.1-py3-none-any.whl:

Publisher: python-publish.yml on ldl805/Logitech-Marble-Labwc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page