New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacement issue with Kitty #281
Comments
This is pretty strange, as it should work correctly! Could you please try to add this line to your configuration and see if that helps?
|
Hey, |
Still have some issues here with kitty 0.18.1 and espanso 0.6.3. With default configuration file, |
I wonder if |
Hmmm it's not related to kitty, as I've the same behavior in xterm or gnome-terminal |
@matclab I'm sorry you experienced this problem, what keyboard layout are you using? In the meanwhile, you can try setting:
in your default.yml config |
Thanks for your help.
|
@matclab thank you. It seems like the non-English layouts have some problems on Terminals without the |
Hi there, I'm having this issue as well in kitty (Garuda Linux). |
Hey @ivanddm, I'm sorry you experienced this problem! Could you please try adding the Cheers :) |
Thanks @federico-terzi. I will try that out, thanks a lot for your support. In Mac, espanso is working beautifully (I'm gradually migrating from textexpander). However in Linux, besides the issue with Kitty (which might make me use a different default terminal, alacratty or konsole don't have such issues), I noticed as well that it takes a considerable amount of time to restart espanso (like a minute or so). It might be something in my config that is causing the issue, not sure. Anyways, I will come back to you after trying the suggested |
Wow, this is unbearably slow! Espanso shouldn't take more than a second or two to restart, so there is something seriously wrong here :) How many matches do you have? Did you install any "big" package? |
@federico-terzi as suspected, it was something with my configuration, not sure what. I switched to another distro with i3wm and espanso is running smoothly and restarting right away, not delay whatsoever. Regarding Kitty, I don't think I will be using it in Linux, as Alacritty seems to work much better in Linux. So no problem from my side. Thanks in any case for following up :) |
@ivanddm Great! No worries :) Feel free to point out any other issues as they occur! |
Is it possible to reopen this? I am experiencing issue with replacement in Kitty 0.24.2 on ubuntu, where every replacement becomes a I have tried to use the This is only happening on Kitty, other terminals work fine and the rest of windows work fine as well. I am not sure how to debug this.. |
@crisidev I'm sorry you experienced this problem! What version of Espanso are you running? Upgrading to the v2 might help: #594 (comment) |
First of all thanks for this product! I am running espanso 2.1.3-alpha and the character that get printed is a literal |
@crisidev Thanks! That's interesting, what keyboard layout are you using? :) |
My layout is QUERTY with en_US. On top of this I use https://github.com/rvaiya/keyd for some remapping
And these xset options:
I want to reiterate that this doesn't look like a system wide problem as espanso works perfectly on any application apart from Kitty (I am on version 0.24.2). |
@matclab Thanks! One thing you might try is remapping the paste shortcut used by espanso when using Kitty. See also: https://espanso.org/docs/configuration/app-specific-configurations/ Create a file in filter_class: "kitty"
paste_shortcut: "SHIFT+INSERT"
apply_patch: false Let me know if that helps :) |
First of all thanks for all the help you are giving me 😀 With the snippet above the So for example if I write |
Hello @federico-terzi, BTW, it was working fine with the old version (0.7x). |
@crisidev @tissieres Thank you guys, could you please try also adding this option? (increase the values as necessary)
If this still doesn't solve it, you might try installing the
Let me know if that helps :) |
Thanks for coming back to us. Nope, neither |
I have similar problem. Also tried everything above. |
solved this at least for my use case by trying all the combinations for my solution: $CONFIG/
└── espanso/
├── user/
│ └── kitty.yml # MUST be in this subdirectory
└── default.yml # ~/.config/espanso/user/kitty.yml
filter_class: "kitty"
fast_inject: false
# backend: Clipboard -- not necessary; actually seems more performant if omitted
# paste_shortcut: "ShiftInsert" -- no change with any accepted inputs ("CtrlShiftV", etc.)
# apply_patch: false -- no change in any combination the file placement + my initial conditions:
|
likely also relevant: assuming
|
I get bitten by this bug right now and trying to figure out how to configure espanso correctly so I get the correct replacements. So far I just tried |
same here - if I try to replace
with the Danish char
it works fine in alacritty, but not in kitty. I think it's the problem of espanso, as you say. I tried using both backend clipboard and fast_inject, but it did not fix it. when using backend: Inject, instead of the replacement becoming 'v', as other users as reported, it replaces with nothing instead. shame, I would prefer to use kitty! But I rely on espanso too much so that will have to wait till this is figured out. Please let me know if I can help troubleshoothing! (I'm without internet the next 14 days though) I'm on manjaro w. i3 |
same thing here. tried everything above - non of that helped. i'm using kitty + manjaro i3 + espanso from AUR. espanso works everywhere except kitty :(.
I have this in my default.yml:
with backend 'Inject', it replaces this string: "3 1/usr/bin/python3". if i choose another backend, then espanso replaces it to 'v' |
Hi, I just want to report that I've tried several combinations and this is the first one that works for me: backend: Clipboard
disable_x11_fast_inject: true
inject_delay: 15
key_delay: 10 Hope that helps. Cheers! |
That didn't work me, what @nilp0inter did. would love to see a solution to this...!! (that is not hacky) |
Still having this issue, none of the solutions mentioned above work for me. Using Clipboard back-end simply expands to "v", otherwise using Inject back-end replaces some of the characters with different characters such as Setup: |
It doesn't work with abbreviations function of Autokey either. Here is the reply from Kitty developer. |
Thanks @back2analogue for the clarification - I think kovids answer is a bit odd, since it works fine in alacritty. But I have read enough of his github comments to know that he's a gruff person and when he has set his mind on something it does not easily get unset. So that's that then. But good to know that there is no easy fix for this. Alacritty it is then, yes :) |
I looked at existing issues, and even at the code. It seems there is some "special" handling required for terminals. Can you please add kitty to the list?
With a file like:
Results in:
Notice the issues with case of the text as well as special characters like
@
.The text was updated successfully, but these errors were encountered: