Espanso: Text expander and more
Packages
You can reuse replacements created by other users thanks to Espanso's packages strategy. To let you do this, the software comes with its own package manager, which primarily works with the Espanso Hub (Figure 5) on the web, but also accepts other sources. The Espanso Hub website [7] sorts the packages that users have posted there by application or purpose. There is separate documentation [8] for this. In the simplest case, you just install a package by typing the espanso install PACKAGE
command.
There are other user repositories [9] besides the Espanso Hub. I started by installing the html-utils package from the hub. Unlike DIY replacements, two colons trigger the replacement here, as in ::div
. The package configuration can be found in ~/.config/espanso/match/packages
.
I also added the third-party espanso-config [9] repository. Installing this is a little more complex. First, you need to clone the repository from GitHub to your own home directory using the command from line 1 in Listing 5. You will then find the espanso-config/
directory, which you include in Espanso using a symbolic link (line 2). This is where you will find the YAML files with some quite useful replacements.
Listing 5
Including a Repository
$ git clone https://github.com/Lissy93/espanso-config.git $ ln -s ~/espanso-config ~/.config/espanso/match/packages
Conclusions
Calling Espanso a text expander doesn't do justice to what it provides. The program not only offers more than its competitors in terms of functionality, it also runs on multiple platforms and supports both X11 and Wayland on Linux. The tool comes with excellent documentation, and a configuration, once created, can be synchronized with other systems and platforms [10]. In about one year of use, I have not encountered any errors so far.
Considering the fact that Espanso was first released in September 2019 and that a small team of programmers still develop the tool in their spare time, the huge feature scope, which I only touched on here, is very impressive. And this is by no means the end of the road, as the roadmap shows [11]. A GUI is top of the wish list. It is intended to bring users on board who are wary of using the command line or don't get on with YAML. Following that, a version for Android is on the cards.
In my humble opinion, Espanso is a prime example of what free software can do. The software does not need to hide its light under a bushel when compared with commercial products – quite the contrary. If you use Espanso, please support the project with a donation if possible.
Infos
- AutoKey: https://github.com/autokey/autokey
- Espanso: https://espanso.org/
- Installation: https://espanso.org/docs/install/linux/#choosing-the-right-install-method
- Syntax: https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines
- Documentation: https://espanso.org/docs/matches/basics/
- Forms: https://espanso.org/docs/matches/forms/
- Espanso Hub: https://hub.espanso.org/search
- Packages: https://espanso.org/docs/packages/basics/
- Repositories: https://github.com/Lissy93/espanso-config
- Synchronization: https://espanso.org/docs/sync/
- Roadmap: https://github.com/espanso/espanso/issues/255
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.