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.0_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.0.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.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logitech_marble_labwc-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f8cbe8395ab0a13f75ed98c7f1d3fb551f2596a80faaaf5c709588362daf0c15
MD5 0e6653edd5fcf2abc11ad69b2ced5843
BLAKE2b-256 c0314604dd8feff28e65f0e669e425eaf4d03ae85cd13fbe24e668cf347b7a32

See more details on using hashes here.

Provenance

The following attestation bundles were made for logitech_marble_labwc-1.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for logitech_marble_labwc-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b04bf7d20336897ba6c3fe3e4680d3818b674ee5988490cf39d5edae246a558
MD5 7f479559bd7e6569b833532a40e730d9
BLAKE2b-256 0c662ff36a22b43866b5500f4ff2291e447946dd0d4a403582bf2a9852f0164f

See more details on using hashes here.

Provenance

The following attestation bundles were made for logitech_marble_labwc-1.1.0-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