title: Capturing a session with an application for debugging purposes (linux)
body: <p>I would like to record all interaction with a (linux) application to disk, capturing the UI and events like keystrokes and mouse clicks. Ideally this could weightless, always-on, scoped to a specific process, and writing cyclically to temp disk until an issue occurs. At which time we can notify developers and replay the bug.</p>
  <p>I'm wondering if there is some thing like <code>x11vnc</code> or the like that can be pointed at an application window/parent process and spool the results to disk. For privacy's sake, it would be best to limit recording to output from a specific process, and not a general screen capture.</p>
  <p>Does anyone know of such a solution, preferably using fundamental linux tooling rather than high-level tools like <code>OBS Studio</code>?</p>
  <p>Regards,
  Jason</p>