Star Hype News.

Premium celebrity moments with standout appeal.

news

install sinhala unicode pack

By Sarah Richards

Ubuntu has the built in sinhala unicode support. But it is not the 'wijesekara' keyboard layout. ( ) . How ever 'wijesekara' type pack is available in the web site ( ) . But the problem is it is only available for ubuntu 9.04. I tried to install this package in ubuntu 11.10. But failed :-(. What should I do?

4

4 Answers

I also have this problem. Sinhala-lk-lug font can be installed using the following command (as root):

By installing using the above command and making suitable setting in Language Support {ibus} and Keyboard Input Methods {add required languages} Sinhala unicode could be used without any trouble in 12.04 as well as previous versions of Ubuntu. But for some time now, although the language selector shows up there it is not possible to type using Sinhala. This might be caused due to a regular software update.

Note: When using the above-mentioned long command to install Sinhala Unicode, the Terminal gives a message that instead of "ttf", "fonts" will be selected.

This link will provide the source for the solution. The original Debian 6 source has been revised for compatibility with Ubuntu.

• Open the terminal and run:

sudo apt-get install ttf-sinhala-lkmug ibus im-switch ibus-m17n m17n-db m17n-contrib language-pack-si-base
rm -f ~/.xinput.d/* ; im-switch -z all_ALL -s ibus 

• Logout and login again. Environment variables need to be set/updated (NO NEED TO REBOOT).

• Select your keyboard layouts by opening the terminal and running:

ibus-setup 

I had the same issue and wanted to make Wijesekara layout work somehow. So I have created my own XKB mapping file. If you need you can use it.

All the information is in this GitHub repository.

For the old Ubuntu editions

  1. Open terminal & type

sudo apt-get install ttf-sinhala-lklug ibus im-switch ibus-m17n m17n-db m17n-contrib

  1. Download whatever the sinhala font you like (.ttf files).

  2. Copy those .ttf files on /usr/share/fonts/sinhala/ folder.

  3. Type ibus-setup on terminal and go to the input method tab.

enter image description here

a. Select Add

b. Select Sinhala-Sinhalese and OK

c. Click En in Top right corner of your screen.

enter image description here

d. Change it to Sinhala.

for Ubuntu 14.04 or heigher

  1. Open terminal and

sudo apt-get install ibus-m17n m17n-db m17n-contrib

  1. Do 2 and 3 steps in above mentioned if you want more sinhala fonts.

  2. Go to settings and select Region & Language

enter image description here

  1. Add sinhala unicodes in Input Sources.

  2. Top of the right corner there is en mark. From that select sinhala font that you add.

enter image description here

ඇන්ඩ් එන්ජෝයි ටයිපින් sinhala.

for Ubuntu 20.04

Package m17n-contrib is not available

so that

apt install ibus-m17n m17n-db

and follow from the 3rd step. if sinhala fonts not apply, please logout and login again.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy