Open montchr opened 3 years ago
Hey @montchr,
I'm really sorry you experienced this problem! My first bet is that some debouncing software is interfering with espanso, but I noticed you already tried disabling them to see if that could help...
Try to play with the backspace_delay
option, starting from value 1000 and gradually lowering it down. Also make sure your default.yml
file does not contain other options (so that we can diagnose the problem a bit better):
backspace_delay: 1000
matches:
- trigger: ":espanso"
replace: "Hi there!"
Let me know if that helps!
Cheers :)
I apologize – it seems I didn't disable debounce-mac
properly (I wish launchctl
provided better feedback about whether its commands were successful or not). This time around, I followed debounce-mac's uninstallation instructions and Espanso worked! Thank you for your help. Now I get to have some fun actually using Espanso :)
@federico-terzi That said, I would still like to be able to use the debouncer. https://github.com/toothbrush/debounce-mac/issues/1 indicates that tool should only affect non-synthetic keystrokes. Why might espanso be affected by a debouncer since it's not a physical keyboard?
In debounce-mac, I see that it checks for the value of SYNTHETIC_KB_ID
before debouncing. Do you know if there's any way to get espanso and this debouncer working nicely together?
Hey @montchr,
Thank you for the investigation! I would surely like to support debouncers as well. I didn't know about the SYNTHETIC_KB_ID
, this might be really helpful
I'll reopen this issue to keep track of it! Perhaps, we might be able to include this one in #594
Cheers :)
This is now a rather old issue. Is it still a problem with the recent release?
I'm a new espanso user and have not yet gotten it working properly.
Each time I type a trigger, the replacement activates, however only the last character in the trigger is replaced. All other characters remain.
For example, when I type
:espanso
, the result is:espansHi there!
. After the replacement, if I press backspace, I get:espansHi there:espanso
.Here is my entire config, located at
~/.config/espanso/default.yml
:OS: macOS Big Sur 11.2.2 Espanso version: 0.7.3
I haven't yet installed any packages from Espanso Hub.
I've tried numerous approaches to solving the problem, none of which had any visible effect:
wait_for_modifiers_release: true
fast_inject: false
backend: Clipboard
backspace_limit: 99
espanso unregister
andespanso register
rm ~/Library/Preferences/espanso.plist
rm -rf ~/Library/Application\ Support/espanso
(after uninstalling)Here's the result of
espanso dump
:And the results of
espanso log
: