Skip to main content

autocorrect-linux

autocorrect-linux is a system-wide word suggestion and prediction tool for Linux desktops.
It provides real-time word suggestions and next-word predictions for any application, using a global keyboard listener and a floating GUI.
Note: This tool does not automatically replace misspelled words—it only suggests possible corrections and predictions.


Features

  • Real-time word suggestions for any window
  • Next-word prediction using Machine Learning
  • Custom personal word list (PWL) support
  • Words flagged as incorrect get added to PWL after being used 3 times
  • Always-on-top floating GUI (when activated)
  • Works system-wide on Linux/X11

Requirements

  • Linux (X11)
  • Python 3.9 - 3.11
  • 4GB free disk space required (for model and data files)
  • 8GB RAM recommended (for smooth operation)

Installation

System dependencies:

Arch Linux:

sudo pacman -S xorg-xprop

Debian/Ubuntu:

sudo apt install x11-utils

Python package:

pip install autocorrect_linux

Usage

Start the tool with:

python -m autocorrect_linux
  • The first startup may take several seconds as the language model and vocabulary are downloaded and loaded into memory.
  • On subsequent runs, startup will be faster.

A floating window will appear at your mouse cursor, showing word suggestions and predictions as you type.
You can click on suggestions to copy them, but the tool will not automatically replace words in your application.

Hotkeys

  • Alt+C: Pause/resume the suggestion window and prediction engine.

Notes

  • The tool works system-wide, but only on Linux/X11 desktops.
  • The GUI is non-intrusive and does not allow editing.
  • Suggestions are based on both a dictionary and a machine learning model.
  • If you use a personal word list (PWL), words you use often will be suggested more quickly.

Troubleshooting

  • Startup is slow: The first run downloads and loads a large model (~400MB). Make sure you have a stable internet connection and enough disk space.
  • High RAM usage: 8GB RAM is recommended, especially for large models.
  • No suggestions appear: Make sure you are running under X11 (not Wayland) and that required system packages are installed.
  • Hotkey does not work: Ensure no other application is using Alt+C as a global shortcut.

License

GPL-3.0


Author

simon0302010

Metadata

Release files for autocorrect-linux 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autocorrect-linux 0.4.3
File Size Uploaded
autocorrect_linux-0.4.3.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autocorrect-linux 0.4.3
File Interpreter ABI Platform
autocorrect_linux-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / autocorrect_linux-0.4.3.tar.gz

Download URL autocorrect_linux-0.4.3.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9ae6c058f8e8d2686d75d5586e4003fcbee8e99a6dc13e7913718ec195fd2904
BLAKE2b-256 checksum
How to use checksums
527922e12d568ee549ea5a8b059e2cf10aae98544139e907913d020fd9a38f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / autocorrect_linux-0.4.3-py3-none-any.whl

Download URL autocorrect_linux-0.4.3-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ba7032ed40853eaeaacead34b2c95a7c44961f7d5e6eb446d6caa21baf9a56f
BLAKE2b-256 checksum
How to use checksums
953877c3e4fcd86f9a2ad2ece98c2313ee281f88833d2366cf3ed7b9e42c2e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page