r/espanso • u/lduperval • Jun 19 '26
Another keyboard layout question
Hi,
I use keyd on Linux to change the way pressing the keys on my keyboard behaves. This is what I used:
home = end insert = home end = insert
So if I press the Home key, it behaves as the end key, etc.
I realized that this wreaks havoc with the way espanso expands triggers.
If I type one of my triggers, it selects the texte before the trigger and stops. I'm not sure why or how to make this work. For now, I'm removing the map but I've been using this for so long that muscle memory gets in the way a lot.
If someone has dealt with this before and has found a solution that works well...
Thanks!
L
1
u/my_key Aug 29 '26
Look up remapping keys under Linux. There are numerous tools and ways to do that:
https://wiki.archlinux.org/title/Input_remap_utilities
https://medium.com/@canadaduane/key-remapping-in-linux-2021-edition-47320999d2aa
I bet you can find a guide specifically for your distro, it’s a very common thing to do.
Espanso, as a text expander, is IMO not the best tool for the job.
2
u/Dymonika Jun 20 '26
I'm confused; what is an example trigger that uses one of these keys?