Skip to content

ldl805/Logitech-Marble-Labwc

Repository files navigation

Logitech-Marble-Labwc

A simple Python script to enable scroll wheel emulation for the Logitech Trackman Marble (T-BC21) trackball in the labwc Wayland compositor.

Features

  • Automatically detects and updates your ~/.config/labwc/rc.xml file.
  • Backs up your existing configuration.
  • Supports both small buttons (Back/Forward) as scroll modifiers.

Installation (Recommended)

Option 1: Debian Package (Pi/Ubuntu/Debian)

Download the latest .deb file from the Releases page and install it using:

sudo apt update
sudo apt install ./logitech-marble-labwc_1.0_all.deb

Once installed, run the configuration utility:

logitech-marble-labwc

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

Usage

Once configured, hold down either of the small buttons on your Logitech Marble and move the ball to scroll in any direction.

License

MIT License

About

The Logitech Trackman Marble lacks a physical scroll wheel. This repository provides a script that safely configures the **Labwc** Wayland compositor to emulate scrolling. It allows you to hold down either of the small buttons (Left or Right) and move the trackball to act as a scroll wheel

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors