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.