How I messed up by accidentally replaying all my keystrokes from the last few days

isti115@lemmy.world to Linux@lemmy.ml – 409 points –
Nerf dynamic macros (how I messed up by running one that has been recording for days) · Issue #595 · jtroo/kanata
github.com

After getting a comment from the creator of kanata (an awesome piece of software by the way) that he found my story amusing, I figured that I'd also post it here, partly as fun, partly as a cautionary tale. Also, I'd appreciate any tips as to what to check for in my system, it's a weird feeling to know that some stuff might have been messed up under the hood.

43

You are viewing a single comment

Well he had time to ssh in from his phone and type a command

Oh man, did that feel like a long time until I managed to get there... Adding insult to injury was that every step took two tries. First I didn't type my username for ssh, which resulted in the default termux user being used, so I had to cancel that and try again. After that I tried pkill kanata, which responded with killing pid ... failed: Operation not permitted, which made me realize, that it's running as root, so I need to use sudo to stop it.

All this time I was hammering C-c with my other hand and keeping an eye on the screen as well to see what is happening. 😶

I would like to think that I would react better if that happened to me but I know that I would fumble in the worst ways possible, so I feel you