github espanso/espanso v0.5.2

latest releases: v2.2.1, v2.2.0, v2.1.8...
4 years ago

Version 0.5.2 is here!
It ships various improvements and optimizations, let's see them:

New Auto backend on Linux

This feature is still experimental, and thus must be enabled manually. Check the section below for more information

On Linux systems there was a long standing issue with text injection, which prevented certain apps from correctly handling special characters (such as emojis or accented letters) when injected (for example on Firefox).

For this reason, espanso initially defaulted on the Clipboard backend on Linux, as it was the most reliable (working in 99% of cases), even though it was less efficient and with a few inconveniences (for example, the previous clipboard content being overwritten).

Espanso now ships with the Auto backend, which tries to take it a step further, by automatically determining when an injection is possible (only ascii characters in the replacement), and falling back to the Clipboard backend otherwise.

This new approach should offer substantial benefits to Linux users.

Enabling the Auto backend

Add the following line to your default.yml configuration to enable the backend:

backend: Auto

and restart espanso.

Please let me know if you experience any problem with this new mode :)

More specific key options

Originally proposed by @lkrms in #117, you can now specify a more specific toggle_key option (and the same goes for passive_key).
The new options are:

  • LEFT_CTRL
  • RIGHT_CTRL
  • LEFT_ALT
  • RIGHT_ALT
  • LEFT_META
  • RIGHT_META
  • LEFT_SHIFT
  • RIGHT_SHIFT

All the other options are still valid, for example specifying CTRL is equivalent to accepting both LEFT_CTRL and RIGHT_CTRL.

Minor changes and bug fixes

  • General improvements to word matches, which up to know were known to be a bit unstable. Fix #127
  • Add support to kitty terminal. Thanks to @miterion for the help! :)

Don't miss a new espanso release

NewReleases is sending notifications on new releases.