swanalekha

swanalekha

Swanalekha is an input method to type Malayalam via transliteration.

Installation on Linux via IBus

Follow this guide from Swanalekha docs: https://swanalekha.smc.org.in/desktop/linux/

Installation on Arch Linux + Sway via Fcitx5

Fcitx5 is an input method framework which is pretty lightweight. I avoided using IBus because ibus-m17n package is now in the AUR, so, nah.

First install fcitx5 and m17n stuff:

doas pacman -S fcitx5-im fcitx5-m17n m17n-db

Then, configure these environment variables (I put them in ~/.bash_profile since I login from tty and sway is loaded from ~/.bash_profile itself:

export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@im=fcitx"

Finally, add this to ~/.config/sway/config:

exec fcitx5 -d --replace

Reboot or log out, open Fcitx5 Configuration tool (fcitx5-configtool in the command-line) and add Swanalekha input method.

Press Control + Space to cycle among input methods.