Sinhala: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
XKB_LAYOUT="en,lk"
XKB_LAYOUT="en,lk"
XKB_VARIANT="olpc"
XKB_VARIANT="olpc"
XKB_OPTIONS="grp:alt_shift_toggle"
</pre>
</pre>

* Edit ~/.kbd file and add the following
<pre>
XKB_VARIANT="olpc -option grp:alt_shift_toggle"
</pre>

* Restart the Sugar by using Ctrl+Alt+erase
* Restart the Sugar by using Ctrl+Alt+erase
* Now you can toggle between sinhala and english keyboards by using "Alt+Shift" key combination
* Now you can toggle between sinhala and english keyboards by using "Alt+Shift" key combination

Revision as of 08:49, 16 October 2008

english | සිංහල

Enable Sinhala rendering

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

Enabling Sinhala keyboard

  • Edit /etc/sysconfig/keyboard and add the following
KEYTABLE="us"
XKB_MODEL="olpc"
XKB_LAYOUT="en,lk"
XKB_VARIANT="olpc"
  • Edit ~/.kbd file and add the following
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


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.