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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file linux-mouse-record-0.1.tar.gz.
File metadata
- Download URL: linux-mouse-record-0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
721b9a1ea13c346c00f63686875d9d925c6effa3435941e3ded51cb619d91f28
|
|
| MD5 |
0668a5e76ebb3a02bae9489f91dedc0e
|
|
| BLAKE2b-256 |
381ce434c691b3ad882d36a225332227b315d409284adb2cf3dfb9d516c806dc
|