Localization/Sinhalese
This article describes how to get Sinhalese Unicode support and Sinhalese Unicode input to work using IBus (sayura-ibus) or scim (sayura-scim).
Contents
Fonts
For Sinhala support, you can install any of these fonts:
- noto-fonts - Noto Sans Sinhala, a sans serif font.
- gnu-free-fonts - FreeSerif, a serif font.
- ttf-lklugAUR - LKLUG, a serif font.
Guide to install Sinhala Unicode Font
Download http://sinhala.sourceforge.net/files/lklug.ttf and place it in /usr/share/fonts
.
Then Run the following command
fc-cache -fv
And proceed to the below steps..
Locale
Edit /etc/locale.gen. Uncomment following line
si_LK UTF-8
Run following program
locale-gen
Immediately you'll be able to read Sinhala Unicode in your programs (If not You may need to restart the relavent programs. eg: Firefox)
Input methods
iBus
For Sinhala support on ibus install the following package
- ibus-m17n - M17N engine for IBus
Logout from the current session and log in again after installing. After that, Sinhala input methods should be available on input method configuration panel.
FCITX
The only packaged fcitx based input method for Sinhalese is fcitx-sayura for Fcitx.
While there are also ibus-sayura and scim-sayura, they are no longer in the AUR (albeit they can still be found in the AUR archive).
See also
- sinhala linux - Official Homepage
- sayura-scim - Official Homepage
- LKLUG[dead link 2020-03-30 ⓘ] - Lanka Linux User Group (Sinhala Linux Mailing List)
- Sinhala Unicode Group (සිංහල යුනිකෝඩ් සමූහය)
- Enabling Unicode Sinhala in GNU/Linux HOWTO