Sinhala

From OLPC
Revision as of 09:53, 16 October 2008 by Rashan (talk | contribs)
Jump to navigation Jump to search

english | සිංහල

Sinhala Linux supports the Sinhala script and Sinhala language of Sri Lanka by creating Sinhala-enabled versions of applications for merging into Debian and other distributions. Sinhala fonts and keyboards are in Debian and other Linux distributions.


Enable Sinhala rendering

  • Copy lklug.ttf font to /usr/share/fonts
  • execute
fc-cache -fv

Select Sinhala as the Sugar interface language

  • Control Panel -> Language -> Sinhala(Sri Lanka) OR
  • In the command prompt;
sugar-control-panel -s language Sinhala/Sri_Lanka

Enabling Sinhala keyboard

  • Edit /etc/sysconfig/keyboard file and make the following changes;
XKB_LAYOUT="us,lk"
XKB_VARIANT="olpc -option grp:alt_shift_toggle"
  • Restart the Sugar by using Ctrl+Alt+erase
  • Now you can toggle between sinhala and english keyboards by using "Alt+Shift" key combination