News for hackers. Stuff that matters.
Re:Show HN: Espanso: detect a typed keyword and replace it w... by offtop5 on Wednesday February 03, 2021 @09:28AM (#26013834)
Thanks for the response, but unless I take the time to literally go to your entire repo and make sure you aren't doing anything weird, I'm not installing this thing.
Re:Show HN: Espanso: detect a typed keyword and replace it w... by ivanbakel on Wednesday February 03, 2021 @09:44AM (#26013970)
If you're in a position to use this program[0], you're already taking the same risk by running most other programs on your machine - they also have access to your keypresses.

[0]: The only real reason you wouldn't be is if you're on a non-X Linux desktop. Wayland prevents this kind of program by design.

Re:Show HN: Espanso: detect a typed keyword and replace it w... by federicoterzi on Wednesday February 03, 2021 @10:54AM (#26014751)
Fun fact, Wayland support is the most requested feature [1] and I think it's possible, although we will need to go deeper in the stack and exploit EVDEV

[1]: https://github.com/federico-terzi/espanso/issues/287

Re:Show HN: Espanso: detect a typed keyword and replace it w... by ivanbakel on Wednesday February 03, 2021 @11:23AM (#26015173)
A nice technical writeup! The daemon approach sounds particularly promising. Have you also thought about a Wayland protocol extension? espanso is not the only program that will want total keyboard access, and it's one of the last big obstacles for a lot of X11 users.
Re:Show HN: Espanso: detect a typed keyword and replace it w... by federicoterzi on Wednesday February 03, 2021 @05:16PM (#26019896)
Thanks!

> Have you also thought about a Wayland protocol extension?

I honestly didn't think about that! That might be an option, perhaps when espanso becomes more well-known in the community. Before that, it's unlikely that any change I suggest will make its way into the specification :)

Re:Show HN: Espanso: detect a typed keyword and replace it w... by federicoterzi on Wednesday February 03, 2021 @09:42AM (#26013959)
That's absolutely ok! I'm also very open to feedback if you have any :)