#espanso

2026-02-13

How to install Espanso on Debian or Ubuntu or Raspberry Pi OS

edafe.de/espanso

“Replace ‘:poke’ with ‘Pokémon,’ or save some time by replacing ‘:greeting’ with a stock email template. That’s the basic idea, but Espanso goes much further. It’s one of the most powerful utilities I’ve used, and if you’re willing to do a bit of legwork to set it up properly, it can be one of the most powerful tools on your PC, too”, writes Jacob Roach.

www.xda-developers.com

Installing Espanso for Wayland

Espanso is a cross-platform text expander written in Rust. Follow these instructions to install Espanso 2.3.0 for Wayland on your Debian-based distribution.

Compiling from source

If you are installing on any platform other than amd64 or simply prefer compiling software from source, start at Step 1.

Using the Debian binary package

If you are installing on amd64 hardware and would like to use the binary package for installation, start at Step 7.

Step 1

Install the required packages from your distribution’s software repository.

$ sudo apt install --yes build-essential git libdbus-1-dev libssl-dev libwxgtk3.*-dev libxkbcommon-dev wl-clipboard

Step 2

Download and install the Rust Programming Language.

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Select option 1) – just press enter.

1) Proceed with standard installation (default - just press enter)
2) Customize installation
3) Cancel installation
>

Step 3

Reload the PATH environment variable to include cargo, which is the build tool for Rust.

$ source "$HOME/.cargo/env"

Step 4

Clone the Espanso GitHub repository onto your local machine.

$ git clone https://github.com/espanso/espanso "$HOME/git/espanso"

Step 5

Compile Espanso in release mode.

$ cd "$HOME/git/espanso" && cargo build -p espanso --release --no-default-features --features modulo,vendored-tls,wayland

Step 6

Move Espanso to its correct location in your Linux system.

$ sudo mv "$HOME/git/espanso/target/release/espanso" /usr/local/bin/

Continue with Step 10

Step 7

Install the required packages from your distribution’s software repository.

$ sudo apt-get install --yes libwxgtk3.2-1t64 wl-clipboard

Step 8

Download espanso-debian-wayland-amd64.deb onto your local machine.

$ wget -P "$HOME/Downloads/" --show-progress https://github.com/espanso/espanso/releases/download/v2.3.0/espanso-debian-wayland-amd64.deb

Step 9

Install the downloaded package.

$ sudo dpkg -i "$HOME/Downloads/espanso-debian-wayland-amd64.deb"

Step 10

Give Espanso the permissions required for its operation.

$ sudo setcap "cap_dac_override+p" $(which espanso)

Check to see whether the Espanso binary was installed successfully.

$ espanso --version

Step 11

Register Espanso as a systemd service and launch the program.

$ espanso service register && espanso start && espanso status

Use the wizard and start with a practical example.

Step 12

After completing the wizard, use [Alt + Space] to open the search bar.

GNOME and PIXEL desktops only

Change the default shortcut for opening the search bar to resolve an existing conflict.

$ sed -i 's/search_shortcut: ALT+SPACE/search_shortcut: ALT+SHIFT+SPACE/' "$HOME/.config/espanso/config/default.yml"

Use [Alt + Shift + Space] to open the search bar.

Experimental support for Wayland

Espanso has some known limitations under Wayland. Most notably, “there is currently no support for App-specific configurations”.

#crossplatform #debian #espanso #linux #linuxmint #macos #raspberrypi #raspi #rpi #rust #ubuntu #wayland #windows #yearofthelinuxdesktop
The Peter Pan of Nerdery™dhry
2026-02-06

has been removed from autostart on this Mac and will be deleted once I migrate all the snippets to Raycast. I have absolutely had it with Espanso just spontaneously stopping working, still showing its icon in the menu bar, and having to be endtasked and restarted only to force the user to click through its two startup dialogs. FTW.

Roberto Plàrpla@masto.es
2026-01-24

Voy a seguir con mi culebrón sobre espanso, a ver si la comunidad, con su sabiduría, puede iluminarme para entender el misterio.
Recordareis, o no, que espanso me hacía tonterías y el texto expandido a partir de algunos disparadores no coincidía con el que yo había configurado en el archivo base.yml
Además este comportamiento era "aleatorio" ocurría a veces y otras no.
Ya he encontrado una pauta.
Cuando enciendo el ordenador, falla. Cuando fuerzo la recarga del archivo de configuracion, deja de fallar.
Lo que hago para forzar la recarga es abrirlo con Kate y guardarlo. No hace falta que cambie nada, espanso detecta que el archivo ha sido guardado y lo recarga. A partir de ese momento, hasta que apago el ordenador y lo vuelvo a encender, todo va bien.
Por una parte estoy contento de haber encontrado un método para esquivar el problema, por otro lado no me parece un comportamiento 'normal' y me gustaría no tener que hacer malabarismos para que funcione.
Cuando tenga un momento me pondré en contacto con el creador a través de Discord para comentarselo.

#espanso #problemas

Logotipo de espanso
Roberto Plàrpla@masto.es
2026-01-17

La verdad es que espanso me tiene un poco mosca. Lleva varios dias haciendose un lío con los guiones y los corchetes cuadrados.
Acabo de usar el atajo ":je" y me ha salido justamente "jrnl Titulo --edit" que es lo que tengo configurado, aunque Estos días me sustituía los guiones por apóstrofes y otros los varios, como si no estubiera utilizando el juego de carateres UTF-8 que usan todos los programas de mi ordenador.
Esto es mucho peor que no funcionar, un comprotamiento aleatorio es más dificil de rastrear hasta el motivo del fallo.
Un poco mosca, la verdad.
#espanso #incognita

Logotipo de espanso.
Roberto Plàrpla@masto.es
2026-01-11

Tengo un problema con espanso.

Vi los comentarios de @jorgesanz y @doclomieu sobre espanso y lo instalé.
Básicamente es un expansor de teclado.
Cuando tienes textos que repites muchas veces o te resultan antipáticos de escribir, puedes configurar un atajo que siempre empieza por dos puntos. Poe ejemplo escribes :hl y según estas levantando el dedo de la tecla "l" aparece escrito "Hola, ¿Que tal?" si esa es la frase que asociaste a la combinacion de teclas.
Hay que saber que si has configurado un atajo como :h no puedes confiurar otro como :hk porque segun teclees la h se va a disparar el atajo a la cadena configurada para :h

Bueno esa es alguna de las cosillas que he aprendido en un par de dias de uso.

El caso es que hoy tengo un problema y espero que aquellos que han ido por delante de mi hayan encontrado ya la solución.
Configuré un atajo como sigue:

- trigger: ":-l"
replace: "\n---\n"

En Markdown eso escribe el código para una linea horizontal (tres guiones) y juro que ayer funcionaba.

Hoy espanso está travieso y cuando tecleo ";-l" lo qe obtengo son tres apóstrofes: '''' que a Markdown se la refanflinflan y ni linea horizontal ni nada.

He mirado el archivo base.ylm de configuracion y sigue como estaba ayer.
¿Alguien ha tenido un problema similar? ¿Soluciones?

#linux #espanso #problema

Logo de espanso
Christian M. Grube 🐧Seraphyn@social.tchncs.de
2026-01-02

Wird bei mir unter #macos sehr stark genutzt
#espanso ist es unter #Linux

Beide kann ich sehr empfehlen mastodon.social/@ifun/11582448

The Peter Pan of Nerdery™dhry
2026-01-01

Okay, can ANYONE make a YouTube video about which talks about more than the basic vanilla text expansion functionality?

Hey everyone, here’s a box of colored pencils and here’s what you can do with them!! (draws a single line with a single color) righto then like and subscribe for moar!!! kthxbai

The Peter Pan of Nerdery™dhry
2025-12-22

Man I wish I knew why keeps quitting out on me. The menu bar icon just goes blank and when that happens I know the damn thing has died.

I created the following alias but it doesn't work in terminal..
kex='pkill -x espanso && espanso service unregister && espanso service register'

YET if I manually type espanso service unregister then espanso service register in terminal, it restarts Espanso.

Why doesn't the alias work? Does espanso hate my machine?

2025-12-16

The only caveat: if you use other software like #espanso (great tool!), the order of loading matters. Booting up, keyd will naturally load before you load espanso (probably in your WM solution), but if you make changes to your config and reload keyd, espanso will stop working until you restart it as well. Something to know.

2025-11-25

Espanso - Textexpander:

Kurze Frage in die Runde: Espanso läuft bei mir unter Linux Mint mit X11 rund. Wer benutzt denn einen Linux Desktop mit Wayland? Läuft Espanso dort auch inzwischen zufriedenstellend?

Danke!

espanso.org

#espanso #texterweiterung

The Peter Pan of Nerdery™dhry
2025-11-24

has to be the flakiest piece of shit app I’ve ever used on Mac. It just keeps spontaneously quitting out and I have no idea why. Then it can’t be restarted! Have to remove it from privacy and security and readd it then re register the service from CLI. I suspect it has something to do with “secureinput” whatever TF that is, as it’s popped up a window once or twice talking about it.

I don’t have time for this Scheiße! I’m literally using Mac BECAUSE I thought I wouldn’t see this anymore

The Peter Pan of Nerdery™dhry
2025-10-18
Patch Notification Robot 🔔Patchbot_de
2025-10-18

Federico Terzi released version 2.3.0. espanso.org/install/

2025-10-15

@armollinen

Ok je pense utiliser #Espanso pour utiliser un raccourci :neg qui écrit le terme en entier

Marcus Jaschenmjaschen
2025-10-13

[…] 2/2

🖥️ kitty folgt auf WezTerm als Terminal-Emulator

⌨️ Nach einer Weile mit Espanso bin ich jetzt wieder im Team Typinator

🔊 In dieser Woche gehört: Rn86 b2b nøvae, Subsonic, Lena Brysch

marcusjaschen.de/blog/2025/202

Marcus Jaschenmjaschen
2025-10-13

Wochenrückblick, Ausgabe 111 (2025-41)

Themen:

✈️ Flugsimulator: die harte Lernkurve

📧 Plötzlich fehlten zigtausende Mails im Hauptaccount 😲

🔭 Six Degerees of Wikipedia

👨‍💻 PHP und URI-Handling: es wird alles gut

[…] 1/2

marcusjaschen.de/blog/2025/202

fergycoolfergycool
2025-10-05

If will not start for you on macOS then there's a known issue that hopefully will get fixed soon in 2.2.7. There's workarounds detailed here github.com/espanso/espanso/iss

Patch Notification Robot 🔔Patchbot_de
2025-09-23

Federico Terzi released version 2.2.7. espanso.org/install/

2025-09-16

There seems to be a particular problem with v2.2.5.

Until our sole developer can get to grips with this, please note that the previous releases can be accessed via the project's Github [Releases](github.com/espanso/espanso/rel) page. v2.2.3 is the last stable release, although I have not had any problems with my current v2.2.4.

Any help with debugging and development would be much appreciated!

Patch Notification Robot 🔔Patchbot_de
2025-09-15

Federico Terzi released version 2.2.5. espanso.org/install/

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst