Difference between revisions of "Sinhala Unicode Support"

From ArchWiki
Jump to: navigation, search
m (fix spacing)
m (Enabling Sinhala Locale)
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Internationalization (English)]]
+
[[Category:Internationalization]]
[[Category:HOWTOs (English)]]
+
This page explains how to get the Sinhala unicode support and sinhala unicode input to work using [[ibus]] (sayura-ibus) or [[scim]] (sayura-scim).
This page explains how to get the Sinhala unicode support and sinhala unicode input to work using [[scim]] (sayura-scim).
+
  
= Sinhala Unicode Font =
+
== Sinhala Unicode Font ==
Insall [http://aur.archlinux.org/packages.php?ID=17817 ttf-lklug] from [[AUR]].
+
Install [https://aur.archlinux.org/packages.php?ID=17817 ttf-lklug] from the [[AUR]].
<pre>yaourt -S ttf-lklug</pre>
+
  
= Enabling Sinhala Locale =
+
== Guide to install Sinhala Unicode Font ==
 +
Download and Install '''[http://sinhala.sourceforge.net/files/lklug.ttf lklug.ttf]''' Sinhala Unicode font file
 +
sudo pacman -S wget
 +
sudo wget -P /usr/share/fonts http://sinhala.sourceforge.net/files/lklug.ttf
 +
 
 +
Then Run the following command
 +
fc-cache -fv
 +
 
 +
And proceed to the below steps..
 +
 
 +
== Enabling Sinhala Locale ==
 
Edit /etc/locale.gen. Uncomment following line
 
Edit /etc/locale.gen. Uncomment following line
<pre>si_LK UTF-8</pre>
+
si_LK UTF-8
 
Run following program
 
Run following program
<pre>locale-gen</pre>
+
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)
 +
 
 +
== Sinhala Unicode Input Support ==
 +
 
 +
=== sayura-ibus ===
 +
Install [https://aur.archlinux.org/packages.php?ID=59277 ibus-sayura] from the AUR.
 +
For more information about see [[Ibus|Ibus Article]]
  
= Sinhala Unicode Input Support =
+
=== sayura-scim ===
== sayura-scim ==
+
Install [https://aur.archlinux.org/packages.php?ID=17730 scim-sayura] from the AUR.
Install [http://aur.archlinux.org/packages.php?ID=17730 scim-sayura] from AUR.
+
<pre>yaourt -S scim-sayura</pre>
+
  
== scim configuration ==
+
=== scim configuration ===
 
More about [[scim]] can be found [[scim|here]]. To enable scim add following lines to /etc/profile
 
More about [[scim]] can be found [[scim|here]]. To enable scim add following lines to /etc/profile
<pre>export XMODIFIERS=@im=SCIM
+
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
+
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"</pre>
+
export QT_IM_MODULE="scim"
  
= Further Reading and More Information=
+
== Further Reading and More Information ==
 
* [http://sinhala.sourceforge.net/ sinhala linux] - '''Official Homepage'''
 
* [http://sinhala.sourceforge.net/ sinhala linux] - '''Official Homepage'''
 
* [http://www.sayura.net/im/ sayura-scim] - '''Official Homepage'''
 
* [http://www.sayura.net/im/ sayura-scim] - '''Official Homepage'''

Revision as of 05:13, 2 April 2013

This page explains how to get the Sinhala unicode support and sinhala unicode input to work using ibus (sayura-ibus) or scim (sayura-scim).

Sinhala Unicode Font

Install ttf-lklug from the AUR.

Guide to install Sinhala Unicode Font

Download and Install lklug.ttf Sinhala Unicode font file

sudo pacman -S wget
sudo wget -P /usr/share/fonts http://sinhala.sourceforge.net/files/lklug.ttf

Then Run the following command

fc-cache -fv

And proceed to the below steps..

Enabling Sinhala 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)

Sinhala Unicode Input Support

sayura-ibus

Install ibus-sayura from the AUR. For more information about see Ibus Article

sayura-scim

Install scim-sayura from the AUR.

scim configuration

More about scim can be found here. To enable scim add following lines to /etc/profile

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

Further Reading and More Information