6/18/2023 0 Comments Using auto text expander![]() Use it to boost your productivity by quickly inserting a phrase that you need to type frequently, your address, code and so on, in any application. This article explains how automate repetitive typing using AutoKey, a desktop automation utility for Linux / X11. Using this you'll type less and get more done, no matter the application you use, since the text expansion / substitution will work in any application - a web browser, text or code editor, and so on.įor example you can type addr, then press Space, Tab or Enter, and AutoKey expands this to your complete address. Or you can set a keyboard shortcut in AutoKey, and pressing it automatically enters your address (or any other text you like) in the focused application. ![]() There are more advanced use cases as well, like selecting some text and wrapping it in code blocks for example. It's worth noting that since this is an X11 application, it won't work properly if you use Wayland (e.g. Related: Use Espanso Text Expander To Save Time And Increase Productivity (Linux, Windows, macOS) Fedora uses Wayland by default if you want to use Xorg you must logout, and select "GNOME on Xorg" from the cog icon next to the Sign In button). Debian, Ubuntu, and Debian or Ubuntu-based Linux distributions like Linux Mint, Elementary OS, Pop!_OS, and so onįor Ubuntu 20.04 / Linux Mint 20 / Debian bullseye or sid and newer, install AutoKey from the repositories:įor Ubuntu 18.04, Debian Buster, Linux Mint 19.x, etc.: I recommend using the latest AutoKey release.For example on Ubuntu 18.04, which has AutoKey 0.90.4 (Debian Buster and older have the same version, but I didn't try it in Debian), I would get freezes quite often when trying to use this application, this being fixed after installing the latest version that's available on the AutoKey GitHub. So in this case, download the latest AutoKey from the GitHub releases tab. You'll find DEB packages for download - get (and install) the autokey-common DEB package and either autokey-qt for the QT version (e.g. if you use Kubuntu / KDE Plasma) or the autokey-gtk for the GTK version (e.g. Remove any AutoKey packages you may have installed before installing the DEBs from the AutoKey GitHub releases page:įor example, assuming you've downloaded the autokey-common and autokey-gtk DEB packages in your home folder, install them on Debian / Ubuntu using: if you use Ubuntu with a GNOME-based desktop, including Xfce, Cinnamon, MATE, etc.). Install AutoKey-GTK: sudo dnf install autokey-gtk.Install AutoKey-Qt: sudo dnf install autokey-qt.Arch Linux or Manjaro: AutoKey can be installed from the Arch User Repository.If you use some other Linux distributions, either search for Autokey in the repositories, or see the installation instructions on the AutoKey project page (you can also clone the repository and run it directly without installing it). ![]() It's worth noting that AutoKey needs a tray / appindicator to work. ![]() If you use GNOME Shell, make sure you have a tray (e.g by installing the AppIndicator Support extension - this is not required on Ubuntu since this extension is installed by default). The tray can be used to show the main application window (AutoKey starts in the tray, having its main window hidden) and run phrases or scripts. I should also add that AutoKey needs to be running for the text expansion abbreviations and hotkeys to work, so make sure you enable the Automatically start AutoKey at login option from its preferences. You can change both the abbreviation and the phrase in the instructions below to suit your needs, as this is just an example to show how AutoKey works and how to create your own text expansions.
0 Comments
Leave a Reply. |