X11 keylogger with machine-readable output format