Singlish Typing in Linux (Realtime Singlish)

 
Ok, I had my first problem with linux. How can I type singlish, in linux? In Windows, I was able to do that with Realtime Singlish (Windows program). But when I tried to run it with wine, on ubuntu, It didn't work well.

But I found a solution, from this blog : http://problemsolvedweb.blogspot.com
And from the original developer of Realtime Singlish : https://0xdeafc0de.wordpress.com/rsinglish/linux-rsinglish-installation/

I will post his article here. I don't think I'm violating any author's rights.



First, I didn't know about fcitx, so I used iBus (Ibus-m17n). It's working very well. I don't know why he is asking to use fcitx. So, I'm gonna post both articles here.

I'm using Ubuntu 14.04 & not having the ibus unprocessed keys bug : https://0xdeafc0de.wordpress.com/2011/12/27/ibus-unprocessed/.

So, If you are having this problem, use link above to fix it. or use fcitx.

Install RSinglish-a real time sinhala unicode converter on linux


1. Install IBus and Ibus-m17n using following commands

 sudo apt-get install ibus  
 sudo apt-get install ibus-m17n  

 
2. Go to Language Support and click on Install/Remove Languages.



3.  Select Sinhala from the list and select Apply Changes

4. Select Keyboard input method system as IBus in Language Support and click Apply System wide button.

5. In control center go to Input Methods(or just search in the start menu), it will bring up a wizard. Activate Ibus daemon by proceeding through the wizard.

6. Ibus will start in your system tray now (The small  keyboard icon) if not use following command to start IBus.
 /usr/bin/ibus-daemon -d  

7. Go to IBus preference by right clicking the IBus icon at the system tray

 8.In the Input methods tab check the custermize active input methods and click on the drop-down menu. Click on show all input methods on the bottom of the drop-down list. Now select the sinhala; Sinhalese from the list and then Singlish(m17n). See the image below. After that click Add  button.


9. All set, restart the machine and left-click on the system tray IBus icon. (if it isn't there just run once and add the command listed in step 6 to Startup Applications). 


Install fcitx to type sinhala unicode real time in ubuntu

1. To install fcitx, fcitx-config and fcitx-m17n using apt-get simply enter following line in terminal 

 sudo apt-get install fcitx fcitx-config-gtk2 fcitx-m17n   


2. Set the input method for gtk/qt modules and xim programs by setting the environment variables. Open the /etc/environment file in your favourite text editor and add the following lines to the bottom.  
 

  export GTK_IM_MODULE=fcitx  
  export QT_IM_MODULE=fcitx  
  export XMODIFIERS="@im=fcitx"  


3. Restart the session and you can see the system tray icon of the fcitx. (if not add the startup script, the command as "fcitx")

4. Right click on the fcitx icon on the system tray and click Configure.



5.  In config window click on the small + sign on the bottom-left coner.


 
6. In the Add input method window uncheck the Only show current Language setting and search for singlish. Select Singlish(m17n) and click OK.

Note : You can change language switching shortcut to scroll lock. Like in realtime singlish windows version.

0 comments:

Post a Comment

 

Copyright © FOSS Noob™ All Rights Reserved.

Designed by Templateism