Sinhala: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


== Enabling Sinhala keyboard==
== Enabling Sinhala keyboard==
* Edit /etc/sysconfig/keyboard and add the following
<pre>
KEYTABLE="us"
XKB_MODEL="olpc"
XKB_LAYOUT="en,lk"
XKB_VARIANT="olpc"
</pre>

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

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 ~/.kbd file and add the following
XKBLAYOUT="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


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.