Linux mouse record
@readwithai - X - substack - YouTube
A simple command-line tool to record and replay mouse clicks on Linux.
Using
pipx install linux-mouse-record
linux-mouse-record > recording.jsonl
linux-mouse-replay < recording.jsonl
The recording file is a stream of JSON lines and can be edited by hand.
Motivation
I wanted to record a click and replay it. I found a lot of apps, but a lot of them were complicated-to-use GUIs, two didn't work, and a bunch weren't really documented.
This tool will probably never support additional features you want - unless I need them.
Alternatives and prior work
This is mostly a wrapper about pynput. There are a variety of tools that do this - but I could not find a nice CLI that worked for linux and worked - though perhaps one exists.
About me
I am @readwithai. I make tools for and write about agency and productivity, particularly related to deep reading and for Obsidian.
If you found this tool useful, perhaps pay me 2 dollars on kofi.
If that sounds interesting, you can follow me on X or substack.
Metadata
Release files for linux-mouse-record 0.1
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-mouse-record-0.1.tar.gz | 2.8 kB | Details |
Release files / linux-mouse-record-0.1.tar.gz
| Download URL | linux-mouse-record-0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
721b9a1ea13c346c00f63686875d9d925c6effa3435941e3ded51cb619d91f28
|
|
BLAKE2b-256 checksum How to use checksums |
381ce434c691b3ad882d36a225332227b315d409284adb2cf3dfb9d516c806dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|