Lightweight Windows tray app that locks Japanese IME mode.
- Create and activate a virtual environment.
- Install dependencies:
pip install -r requirements.txt- Run:
python src\app.pyBuild first (see below), then run:
.\dist\KanaLock.exeNote: the repo does not include dist\KanaLock.exe; you build it locally.
Kana Lock: keeps Japanese IME in kana modeDirect Input: switches IME to direct inputMore... > Auto-Start: toggles Start with Windows (per-user startup shortcut)More... > About...: app info, repo link, and license noteExit: closes KanaLock
- Watches foreground/focus changes and reapplies the selected IME mode.
- Uses both TSF and IMM32 enforcement paths for compatibility.
- Runs a lightweight background enforcement loop to keep mode consistent.
- Supports single-instance replacement: launching KanaLock again replaces the currently running instance.
- Create and activate a virtual environment.
- Run:
powershell -ExecutionPolicy Bypass -File scripts\build_exe.ps1Output:
dist\KanaLock.exe