LinuxCommandLibrary

espanso

cross-platform text expansion tool

TLDR

Start Espanso

$ espanso start
copy
Stop Espanso
$ espanso stop
copy
Restart service
$ espanso restart
copy
Edit configuration
$ espanso edit
copy
Search packages
$ espanso package search [keyword]
copy
Install package
$ espanso package install [package_name]
copy
Show status
$ espanso status
copy

SYNOPSIS

espanso command [options]

DESCRIPTION

Espanso is a cross-platform text expander that replaces typed abbreviations with predefined text snippets. It runs in the background detecting trigger strings and expanding them system-wide.
Configuration files define matches between triggers and replacements. Replacements can include static text, dynamic content (dates, clipboard), or scripts. Packages add pre-configured expansions.
Espanso works across all applications, handling common typing patterns, boilerplate text, and frequently used phrases.

PARAMETERS

COMMAND

Operation: start, stop, restart, edit, package, etc.
start
Start Espanso service.
stop
Stop service.
restart
Restart service.
edit
Open config in editor.
package search KEYWORD
Search packages.
package install NAME
Install package.
status
Show service status.
--help
Display help information.

CONFIGURATION

~/.config/espanso/config/default.yml

Main configuration file controlling behavior like toggle key, backend preferences, and global settings.
~/.config/espanso/match/base.yml
Default match file defining triggers and replacements. Additional match files can be created to organize expansions.

CAVEATS

Requires background service. Needs accessibility permissions on macOS. Some applications may not support input injection. Trigger conflicts possible.

HISTORY

Espanso was created by Federico Terzi as an open-source, cross-platform alternative to commercial text expanders. Written in Rust, it emphasizes privacy and performance.

SEE ALSO

xdotool(1), autokey(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community