Rekey fix text typed with the wrong keyboard layout
You typed akuo but meant שלום. Select the text, press a hotkey, and Rekey converts it between any two layouts you have installed. No pair tables: every key has a scancode, and a layout is just what each key gives.
In your language
English
Typed in the wrong layout? Fix it with one key. Select the text, press a hotkey and Rekey converts akuo to שלום (or any other pair of layouts). Works on Linux (hotkey and right-click), Android and any browser (an offline web page), and on Windows (a tray app that is still in testing). Free, no tracking, and the web version needs no installation.
עברית
הקלדת בשפה הלא נכונה? תקנו במקש אחד. בחרו את הטקסט, לחצו על קיצור המקשים, ו-Rekey ממיר את akuo ל-שלום (או כל זוג פריסות אחר). פועל בלינוקס (קיצור מקשים ותפריט לחיצה ימנית), באנדרואיד ובכל דפדפן (דף אינטרנט שעובד ללא חיבור), ובווינדוס (אפליקציית מגש, עדיין בבדיקה). חינמי, ללא מעקב, וגרסת הרשת לא דורשת התקנה.
Español
¿Escribiste con la distribución equivocada? Arréglalo con una tecla. Selecciona el texto, pulsa un atajo y Rekey convierte akuo en שלום (o cualquier otro par de distribuciones). Funciona en Linux (atajo y clic derecho), Android y cualquier navegador (una página sin conexión), y en Windows (una app de bandeja todavía en pruebas). Gratis, sin rastreo, y la versión web no necesita instalación.
The web page and the Windows tray menu are in English, עברית and Español.
Screenshot
The web version: type or paste the text, choose the two layouts, and the result appears. It works offline once opened, so on a phone you can add it to the home screen.
What it does
Any two layouts
English, Hebrew, Spanish, Russian, Arabic and the rest of what is installed: 17 are built into the web page, and on Linux the layouts are read from your own desktop. N layouts need N small tables, not N×N conversions, and the tables are regenerated when you add a layout.
One key on Linux
Select the wrong text in any program and press Ctrl+Alt+K: the selection is replaced by the corrected text, which stays selected. Your clipboard then holds the original, so Ctrl+Z or Ctrl+V puts it back if the fix was wrong. Right-click the launcher for fix the selected text or fix the clipboard. Terminals use their own copy and paste keys, set in rekey.ini.
A web page for phones and any browser
One HTML file with no libraries and no network use. Dark by default with a Dark/Light switch; the language button switches between English, עברית and Español.
Command line
rekey list shows the layouts, rekey text "akuo" --to il converts a string, rekey gen us il es rebuilds the layout table from the system.
Install on Linux
sudo apt install xdotool xclip x11-xkb-utils libxkbcommon0 # once unzip rekey-linux.zip && cd rekey ./linux/install.sh # rekey in ~/.local/bin, a menu launcher, the hotkey Ctrl+Alt+K (Cinnamon, GNOME on X11, MATE and Xfce are set up for you); no sudo rekey list rekey text "akuo" --to il
The installer builds from source when fpc is present, otherwise it installs the binary in the zip. Cinnamon, GNOME (on X11), MATE and Xfce get the hotkey automatically; on KDE, i3, sway, openbox and the rest the installer prints the exact steps, or bind rekey fix to a key in your desktop's keyboard settings. The desktop saves that binding, so it survives a reboot: Rekey is not a background program on Linux, the desktop runs rekey fix once per key press. On a Wayland session the installer warns you: Rekey needs X11 (choose an Xorg session at login). ./linux/uninstall.sh removes it.
Install on Windows
Windows 10 or 11, 64-bit. No administrator rights are needed: everything goes into your own profile.
Expand-Archive rekey-windows.zip -DestinationPath rekey-win ; cd rekey-win powershell -ExecutionPolicy Bypass -File install.ps1 # rekey.exe to %LOCALAPPDATA%\Programs\Rekey, a Start menu entry, starts it, starts it with Windows
- It has to be running. On Windows Rekey is a small tray program, and the hotkey (Ctrl+Alt+K) belongs to the running program. The installer therefore makes it start every time you sign in; add
-NoAutostartto skip that, or untick Start with Windows in its tray menu at any time. Uninstalling removes the entry. - The tray icon. Click it (left or right button) for the menu: fix the selected text, target layout, regenerate layouts, open the settings folder, start with Windows, language, quit. On Windows 11 the installer moves the icon out of the hidden “^” area into the visible tray.
- Select wrongly typed text in any program and press Ctrl+Alt+K. Ctrl+Z in that program undoes the change.
- SmartScreen. The program is not signed yet, so a file downloaded with a browser can show “Windows protected your PC” with “Unknown publisher”. Choose More info, then Run anyway.
install.ps1removes the download mark from its own files, so the installed program starts without that prompt. The installer also tells you, before it installs anything, that the program is not digitally signed, and prints the SHA-256 of the program file. A company rule that blocks unsigned programs still applies: ask your IT group to allow the SHA-256 of the zip in the table below, or of the program file:rekey.exe aa36be2980bfb8425f881760bac94d45d138826710e238d31cb5bf84795accd7. Rekey sends Ctrl+C and Ctrl+V and uses the clipboard to do its work, and it makes no network connection. - You can also just unzip and run
rekey.exewithout installing anything.uninstall.ps1removes it.
Download
| File | Size | SHA-256 |
|---|---|---|
| rekey-windows.zip Windows 64-bit: rekey.exe tray program and installer | 185 KB | f417d135a3753caea32ace53c942d2b68175206953c829e95ae7f878facdd2a3 |
| app.html the web version (also for Android); save the page to keep it offline | 33 KB | 0a1a5dbe6736e9814e22cdbbe7852d3609d9e7c8a4be81f6f97570947c061c06 |
| rekey-linux.zip sources, guide, installer, Windows build script, Linux binary | 434 KB | 50f3ef50f92d910545db7de7d608d23dfcdc8886952e8aca255bf27e52d762ec |
Honest status
- Linux: built and tested. The web page works in browsers; it has not been tested on every phone.
- Windows: cross-compiled from Linux and tested in a Windows 11 virtual machine as a standard user: install and uninstall, tray start, layouts read from Windows (US and Hebrew), Ctrl+Alt+K in Notepad turning
akuointoשלוםand Ctrl+Z undoing it, the tray menu, and starting by itself after a real restart. Not tested on Windows: other programs than Notepad, layouts other than Hebrew, dead keys. Windows still uses the older behaviour: the corrected text replaces the selection and your own clipboard text is restored; the Linux behaviour (corrected text stays selected, original on the clipboard) is not ported yet. - Wayland blocks the hotkey method; use the right-click actions or the web page there. Mixed text (some right, some wrong) is converted entirely, so select only the wrong part. Dead keys are skipped.
Licence and credits
Free to use. Written in Free Pascal; the Linux build reads layouts through libxkbcommon.