WordWrap 0.3.0
Superseded by v0.3.1.
This 0.3.0 build was published under the MIT license and stays that way.
From 0.3.1 onward WordWrap is licensed under the GNU GPL-3.0-or-later.
First public release.
WordWrap fixes text typed in the wrong keyboard layout on GNOME / Wayland -
select the mistyped text, press a hotkey, and it is rewritten through the
correct layout while the system layout switches to match.
Highlights
- Bidirectional
en <-> ru, direction detected from the text itself. - Works in editors, browsers, VS Code, Telegram, and (separate hotkey) terminals.
- System-tray app: enable/disable, colour or monochrome icon, About dialog.
- Bilingual UI (English default, Russian selectable), launch-on-login toggle.
- Robust layout switching (gsettings + GNOME shortcut fallback).
- Single-instance lock; text content never logged; no network access.
Hotkeys (configurable)
| Action | Key |
|---|---|
| Convert selection | Ctrl+F1 |
| Convert in a terminal | Ctrl+Shift+F1 |
| Convert last word | Ctrl+F2 |
| Enable / disable | Ctrl+Pause |
Install
pipx install git+https://github.com/sgk-dev/wordwrap@v0.3.0
sgk-wordwrap --install-desktop # add to the applications menu
# add yourself to the 'input' group once, then log out/in:
sudo usermod -aG input "$USER"Or from a clone: bash packaging/install.sh.
Known limitations
- GNOME on Wayland only (X11/KDE code exists but is untested).
- Does not work inside full-screen TUIs (the Claude Code prompt, vim, tmux).
- Password-field detection is best-effort on Wayland.