Espanso is a cross-platform text extender written by Rust that lets users use shortcuts instead of typing long sentences. In everyday applications, directly using keyboard or mouse macros can save a lot of time to complete the work, if you can not directly use macros to enter all the content may appear tedious input, which can be avoided by using espanso open source text extension.
Espanso does not support custom/control GUI, for arbitrary changes require recourse terminal or /YML file, can allow users to use short code/keywords to quickly write a piece of text. For example, espanso provides the basic code for entering the date, when the user enters: date espanso will convert the format to the date format, the default format is MM/DD/YYY. Similarly, you can use any other custom keywords or snippets of code.
Espanso's advantages are that it can help users improve their productivity, support text extensions when using the shell, espanso can execute custom scripts according to keywords, support the addition of emoticons, and save code snippets and reuse them in espanso. Complete system integration, application-specific configuration options, and cross-platform support.
To install espanso (Ubuntu) in Linux:
sudo apt update sudo apt install libxtst6 libxdo3 xclip libnotify-bin
It can also be installed on the Arch system /manjaro distribution with AUR. Other Linux distributions can be installed using the package manager. See espanso's official installation instructions for more details. After successful installation, you need to start:
espanso start
After the startup, it is more required to add the startup process when the server starts, but you need to manually start it every time you log in to the system.
You can add this to systemd:
espanso register
Verify the run:
espanso status
Stop when the short code used conflicts with normal usage or when espanso functionality is not needed:
espanso stop
How to customize/add extended text when using Linux system, first browse to the home directory, enable hidden files /., then go to the Configuration/espanso folder, find the default values, find the default configuration file for espanso. Open with the default text editor. Look again at the default text and short code/keywords. You can select existing text to edit or add new ones as needed.
- trigger: ":YourKeywordHere" replace: “Text That You Want Be replace With The Keyword”
Configure the configuration as required and save it to a file. You may receive a notification that the configuration has loaded successfully, if there is no need to go to the terminal to restart espanso to ensure the new configuration application. If there are mistakes, you may need to adjust the spacing of what you have written to make sure it is correct.