Gõ Nhanh for Linux uses the Fcitx5 input method framework to provide Vietnamese input across all applications.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/khaphanspace/gonhanh.org/llms.txt
Use this file to discover all available pages before exploring further.
Quick Installation
Run the automated installation script:After installation, log out and log back in to complete the setup.
Requirements
Runtime Dependencies
- Fcitx5 — Input method framework
- Rust core library — Bundled with installation
Supported Distributions
- Ubuntu 20.04+
- Debian 11+
- Fedora 35+
- Arch Linux
- Other distributions with Fcitx5 support
Manual Installation
If you prefer to install manually or the script doesn’t work:Configure environment variables
Add these lines to your Then reload your shell config:
~/.bashrc or ~/.zshrc:Download and install Gõ Nhanh
Follow the installation script or build from source (see Build from Source).
Usage
Keyboard Shortcuts
| Shortcut | Function |
|---|---|
Ctrl + Space or Super + Space | Switch input methods (depends on desktop environment) |
The exact keyboard shortcut to switch input methods depends on your Fcitx5 configuration and desktop environment.
Command-Line Interface
Gõ Nhanh provides a CLI for quick configuration:Input Methods
- Telex (Default)
- VNI
| Type | Result |
|---|---|
s, f, r, x, j | sắc, huyền, hỏi, ngã, nặng |
aa, oo, ee | â, ô, ê |
aw, ow, uw | ă, ơ, ư |
w (after consonant) | ư |
dd | đ |
vieetj → việtFile Locations
Gõ Nhanh installs files in the following locations:| File | Location |
|---|---|
| Fcitx5 addon | ~/.local/lib/fcitx5/gonhanh.so |
| Addon config | ~/.local/share/fcitx5/addon/gonhanh.conf |
| Input method config | ~/.local/share/fcitx5/inputmethod/gonhanh.conf |
| Rust core library | ~/.local/lib/libgonhanh_core.so |
| CLI binary | ~/.local/bin/gn |
Troubleshooting
Command gn not found
Reload your shell configuration:
~/.local/bin is in your PATH.
Can’t type Vietnamese
Fcitx5 addon not loading
Check Fcitx5 logs for errors:Missing symbols error
Check thatLD_LIBRARY_PATH includes ~/.local/lib:
/home/yourusername/.local/lib
Build from Source
For advanced users who want to build from source:Updating
Update to the latest version:Uninstallation
Using the CLI:Desktop Environment Support
Gõ Nhanh works with all major Linux desktop environments:- GNOME — Tested on Ubuntu, Fedora
- KDE Plasma — Full support
- XFCE — Full support
- Cinnamon — Tested on Linux Mint
- MATE — Full support
- i3/Sway — Works with proper Fcitx5 configuration
Some tiling window managers may require additional Fcitx5 configuration. Check your WM’s documentation for input method setup.