What it is
A Tamil keyboard layout for Linux where the key positions follow the Tamil alphabet order, instead of mapping Tamil letters onto Latin sounds.
Repo: https://github.com/prasanth-nature/tamil-keyboard
The layout
| Row | Keys | Letters |
| Top | q w e r t y u i o p | வ ழ ள ங ஞ ண ந ம ன ஃ |
| Home | a s d f g h j k l | க ச ட த ப ற ய ர ல |
| Bottom | z x c v b n m | அ இ உ எ ஒ ஐ ஔ |
| இனம் | Letters | Where |
| வல்லினம் (hard) | க ச ட த ப ற | home row, left |
| இடையினம் (middle) | ய ர ல | home row, right |
| இடையினம் (middle) | வ ழ ள | top row, left |
| மெல்லினம் (soft) | ங ஞ ண ந ம ன | top row |
| ஆய்தம் | ஃ | top row, last |
26 keys = 5 குறில் + 2 diphthongs + 18 மெய் + 1 ஆய்தம்.
Composition
Tamil writes க + இ as கி, one grapheme. So the engine keeps the last consonant pending and turns the next vowel key into its sign:
if k in INDEPENDENT: if self.pending is not None: return SIGNS[k][1 if caps else 0]
return INDEPENDENT[k][1 if caps else 0]
Caps Lock picks the long vowel (நெடில்). Space, digits and punctuation clear the pending consonant and pass through.
Why an IBus engine and not an XKB layout
| Option | Verdict |
| XKB symbols file | no state between key presses — cannot produce சி from ச + இ |
| Compose + dead keys | needs 18 custom dead keysyms, and Caps Lock still would not work |
| IBus engine | state machine, four dictionaries of layout data |
Two gotchas, if you write an IBus engine
- The D-Bus name in the component XML must match the name your engine claims, or the daemon starts your process, waits for a bus name nobody owns, and never attaches. The layout shows up in Settings and types nothing.
- The component XML must go in
/usr/share/ibus/component. The ~/.local/share/ibus/component scan is compiled out of IBus, so a user-level component file is never read. ibus list-engine | grep <your-id> is the only check that matters.
Both cost me more time than the layout itself.
Install
git clone https://github.com/prasanth-nature/tamil-keyboard.git
cd tamil-keyboard
./install.sh --add-source
AlmaLinux, RHEL, Fedora, Debian. GNOME on Wayland or X11. MIT.
Limitations, honestly
- Only GNOME is tested. KDE and other desktops are untested.
- Linux only — no Windows or macOS.
- Caps Lock is the long-vowel key. If you expect Shift, this will annoy you.
- No transliteration mode (no typing "vanakkam" and getting வணக்கம்).
Feedback I would like
Does alphabet ordering make the layout faster to learn than Tamil99? That is the one claim I cannot test on myself.
Reference image: https://github.com/prasanth-nature/tamil-keyboard/blob/main/Tamil%20Keyboard%20Layout%20Reference.png