7 MIN READ TIME

ESPANSO

Expand text easily

Shashank Sharma is all for conservation of energy, so he’s mighty excited about Espanso, which helps him write more by typing less.

OUR EXPERT

Shashank Sharma is a trial lawyer in Delhi. An avid Arch user, he’s always on the hunt for discount geeky memorabilia.

Whether we’re executing your favourite commands, frequently accessing certain directories, websites, or signing off email messages, we do a lot of repetitive typing during the course of the day. A lot of this effort can be saved by using text expansion tools such as Espanso.

Espanso is an Italian word meaning ‘expand’ - and that’s precisely what the tool does. It lets you create a list of keywords or snippets which you can associate with longer words, expressions or even sentences. Any time a configured keyword or snippet is encountered, Espanso automatically replaces it with the text.

Released under the GPLv3, this minimalist utility also supports just about all graphical applications such as email clients, browsers and so on. It also has extensive support for the command line and can be used to execute custom scripts, expand keywords into frequently used code snippets, and more.

EXPANDING ESPANSO

In addition to creating custom triggers, you can also install extensions to expand Espanso’s feature set. These extensions, called packages, provide additional functionality. You’ll find a number of packages at https://hub.espanso.org.

To install a package, you need to run the espanso install packagename command. For instance, you can run espanso install basic-emojis or espanso isntall all-emojis to install the emoji packages. Once installed, you’ll be able to insert emojis by using their name, such as :smirk:. :grin: and so on (while enjoying the irony of writing a word in order to create a picture).

Install the arrows package with the espanso install arrows command if your writing involves drawing of arrows. You can now create a right-arrow with \rarrow, a tick with \check and so on.

Each package has its own page describing how to install it and the functionality it adds to Espanso. There are also packages that can help you with Excel formulas, or adding French and German accents when writing.

The html-utils-package will appeal to those who write a lot of HTML code. Once installed, you’ll be able to use :style instead of typing , or :head instead of . All packages are installed in the ~/.local/share/espanso/packages directory. Each package is placed in a different directory within this packages directory, with a package.yml file of its own. You must restart Espanso with espanso restart every time you install a new package, or edit the config file for a package.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99c
SUBSCRIBE NOW
30 day trial, then just $9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
October 2020
VIEW IN STORE

Other Articles in this Issue


In This Issue
Work smarter and harder
I’ve never done so many video conferences, to the point
REVIEWS
Seeed Odyssey X86J4105
CPU: Intel Celeron J4105 (1.5GHz, 4 core, 4MB cache, 10W
Easy OS 2.4.1
An experimental, lightweight, container-friendly distro. Based on Puppy Linux via
LinuxFX 10.6
An uncannily Windows-looking distro aimed at users shifting to Linux
Beyond a Steel Sky
The 1994 adventure game Beneath A Steel Sky was considered
ROUNDUP
Mathematics packages
Mats Tage Axelsson has spent decades figuring out reasons to
BUILD A SMART HOME OFFICE
Creative ingenuity and the ability to cram a network stack
IN-DEPTH
FUNDING THE FREE
For many of us, the price tag was a key
HISTORY OF THE PC
The PC; the personal computer; the IBM-compatible. Whatever you want
Pi USER
EDUBLOCKS
Hello, we’re Lara and Dave, and we’re the parents of
Attack of the Boston Pi-namics clones
Boston Dynamics is a robotic design company that is most
SATA storage
Storage on the Pi has always been troublesome; no native
World keyboards
The Raspberry Pi-designed keyboard range has been extended to help
RaspController
An Android app that provides remote control of multiple Raspberry
Get up and running with Ubuntu 20.04
Les Pounder is an Associate Editor at Tom’s Hardware and
Native Pi gaming with the classics
Christian Cawley has gained weight during lockdown, mostly from spending
CODING ACADEMY
Create a 2D shooter
Calvin Robinson is a former Assistant Principal and Computer Science
REGULARS AT A GLANCE
RISC heads for the Linux desktop
Back at the end of June 2020 Apple made the
Mozilla lays off 50% of employees
Mozilla Corporation announced it will lay off around 250 employees,
Russian Fancy Bear
The NSA and FBI have released a new cybersecurity advisory
OBSERVE THE OBSERVERS
Matt Yonkovit is Percona’s chief experience officer and a member
TALENT & TALENT
There’s one interview question that will enable you to differentiate
Earthquake detection
The Linux Foundation - the nonprofit organisation set up to
Linux extending
Microsoft has discovered that its Linux supporting system Windows Subsystem
OnlyOffice images
There’s been a little discussion of late about Snap and
Distro watch
Know previously by a possibly trademark-infringing name, this Ubuntu-based distro
WE’RE VERY SENSITIVE!
When Linux 5.2 was released, a new feature was added
GITS NEW AND OLD
The Register recently ran a piece in which Microsoft’s representative
Kernel Watch
Linus Torvalds announced Linux 5.9-rc3 L (release candidate 3), which
ONGOING DEVELOPMENT
The RISC-V architecture may be about to gain support for
Answers
Q No news is not good news Following the demise
Mailserver
WRITE TO US Do you have a burning Linux-related issue
LibreOffice
Alexander Tolstoy is heading towards an Indian summer in his
Pinta
We thought we were aware of all (or at least
Basilisk
The web browser market has long being divided among select
Boop-GTK
When it comes to Linux text editors, there are a
HDCK
Nobody likes losing precious information due to a hard drive
QtFileExplorer
Rumour has it that once upon a time, the Dolphin
Prelockd
No matter how much RAM you have, it may still
Destination Sol
Destination Sol is a marvellous and very playable title originally
Matchimals
Years ago, there was a trend of publishing PC games
DigiKam
Maintaining an image collection starts with sorting files using a
GSConnect
GSConnect is must-have software for those Linuxers who use Gnome
TUTORIALS
Organise your ideas, projects and plans
Nick Peers is dreaming of a new, more powerful server
Quickly put together a slick bibliography
Kseniya Fedoruk is a documents expert working at ONLYOFFICE, she
Relive running a HDD-equipped Amiga 1200
Les Pounder is associate editor at Tom’s Hardware and a
How to recreate the Doctor Who theme
Mike Bedford likes to play around with the maths of
Chat
X
Pocketmags Support