libinput-replay(1)

πŸ’… libinput-replay(1) β€” General Commands Manual πŸ’…

okay so this page is from the General Commands Manual, and the star of the show is libinput-replay. The synopsis below literally spells the invocation as libinput replay β€” space, bestie, not a typo. Slay. The footer is just libinput-replay(1), and I’ll do the cute sign-off at the very end.


πŸŽ€ NAME πŸŽ€

  • libinput-replay β€” replay kernel events from a recording. No cap.

✨ SYNOPSIS ✨

libinput replay [options] recording

πŸ’– DESCRIPTION πŸ’–

The libinput replay tool replays kernel events from a device recording made by the libinput record(1) tool. It’s giving β€œrecord it, then send it back through the kernel,” and honestly? Iconic.

This tool needs to run as root to create a device and/or replay events. Fr fr, root is not optional here. πŸ’…

If the recording contains more than one device, all devices are replayed simultaneously. The whole squad goes at once. 🫢

🌸 OPTIONS 🌸

  • --help β€” print help. Short, sweet, useful.
  • --once β€” only replay the recording once, then exit. One and done, periodt.
  • --replay-after=s β€” replay the recording after waiting for s seconds. This replaces the default interactive prompt to start the replay. So instead of the prompt, you get a timed entrance. ✨

🫢 NOTES 🫢

This tool replays events from a recording through the kernel and is independent of libinput. In other words, updating or otherwise changing libinput will not alter the output from this tool. libinput itself does not need to be in use to replay events. It’s giving β€œkernel said it, not libinput,” lowkey. 😌

Also important: this tool does not replay kernel-emulated key repeat events β€” the events of type EV_KEY with a value of 2. Not those. Do not come for those. πŸ’€

πŸ‘‘ LIBINPUT πŸ‘‘

Part of the libinput(1) suite. Family. 🌈


πŸ’– cute sign-off: the footer is libinput-replay(1) and the manual is the General Commands Manual. The source page doesn’t show a version or date, so I’m not making one up β€” no invented lore, bestie, periodt. 🫢

πŸ“¦ where this page comes from