You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
4.8 KiB

10 years ago
---
layout: post
status: publish
published: true
title: How to install Thai input in Eee PC
author:
display_name: ''
login: ''
email: ''
url: ''
wordpress_id: 59
wordpress_url: http://blog.10ninox.com/?p=59
date: '2007-12-17 14:44:28 +0700'
date_gmt: '2007-12-17 14:44:28 +0700'
categories:
- linux
- Eee PC
tags:
- Eee PC
- how to
- linux
---
<p>I don't know if this is useful, but I found many sites mentioned that Eee (Xandros) is not capable of handling Thai--only for input, I guess. So this could help somebody who passes by and is finding how to add Thai as an input language.</p>
<p>Originally, Eee PC comes with English and Chinese, of course. Thus, it needs something to switch between those languages already. Luckily it is <em><strong>SCIM </strong>- Smart Commom Input Method Platform</em>. If you are familiar with another linux distro and using other language besides English, you will know it well. This is all you have to know in order to add Thai or any language as a keyboard input.</p>
<p><img src="http://blog.10ninox.com/wp-content/uploads/2007/12/image.png" alt="image" style="border-width: 0px" border="0" height="253" width="410" /></p>
<p><em><u>source</u>: screenshot of openSUSE 10.3</em></p>
<p>Basically, SCIM has 2 parts which are core programs and tables (.bin &amp; .png) for any languages. Usually, when you install SCIM, it will bundle tons of table for you to choose, but unfortunately Eee does have only English and Chinese. So, what you have to do is copying the table for the language you need into SCIM directory. That's it!</p>
<p>I upload all non-CJK tables for SCIM in <a href="http://cid-72ebb4cbca348eaa.skydrive.live.com/self.aspx/Public/scim.zip" target="_blank">Sky Drive here</a>, it's only 110kB, so you may add all that or just choose what you want.</p>
<p>After you got the file, you have to extract and put them in</p>
<p class="codebox">/usr/share/scim/</p>
<p>or if you want to add only Thai language, you have to copy <em>Thai.png</em> in icons folder to /usr/share/scim/icons and Thai.bin in tables folder to /usr/share/scim/tables. (you have to gain root privilege in order to do so)</p>
<p><img src="http://blog.10ninox.com/wp-content/uploads/2007/12/image2.png" alt="image" style="border: 0px none " border="0" height="330" width="425" /></p>
<p>Then you have to set for a hotkey for switch the language a bit. You might not use grave accent though since grave button is not on the right place as usual keyboard. I found that Ctrl+space is very comfortable way to switch, but it's just my way.</p>
<p><u>Step-by-Step: how to add thai for eee pc:</u></p>
<p>1. download SCIM table from my <a href="http://cid-72ebb4cbca348eaa.skydrive.live.com/self.aspx/Public/scim.zip" target="_blank">Sky Drive here</a><br />
2. Extract to where you want, assume /home/user<br />
3. get into <em>Terminal</em> (Ctrl + Alt + T)<br />
4. gain root privilege</p>
<p class="codebox">sudo -i</p>
<p>5. copy 2 files needed for a lauguage you want</p>
<p class="codebox">cp /home/user/scim/icons/Thai.png /usr/share/scim/icons/<br />
cp /home/user/scim/Tables/Thai.bin /usr/share/scim/tables/</p>
<p>6. right-click on SCIM and set for a hotkey<br />
7. you are now able to type Thai on Eee PC, congratulation!</p>
<p>#-----added on 2007-12-25---- การลงภาษาไทยใน eee pc --------#<br />
<font color="#ff6600"><u><strong>Additional part for you guys who prefer Pattachote keyboard layout</strong></u></font> (ปตตะโชต บน eee pc) <font color="#ffffff">pattachote on Eee; ปตตโชต บน eee </font></p>
<p>First of all, you don't have to follow the step above. You have to do something a bit different which is adding scim-thai repository.<br />
1. Get into terminal by ctrl+alt+t<br />
2. add repository that has scim-thai (one I know is from linux.thai.net)</p>
<p class="codebox">sudo kwrite /etc/apt/sources.list</p>
<p>add the following line into the file, then save and exit.</p>
<p class="codebox">deb http://linux.thai.net/apt ./</p>
<p>3. update the repositories and install <em>scim-thai</em> in terminal</p>
<p class="codebox">sudo apt-get update</p>
<p>You may have to try several times until you haven't seen an error. Then:-</p>
<p class="codebox">sudo apt-get install scim-thai</p>
<p><img src="http://blog.10ninox.com/wp-content/uploads/2007/12/terminal.jpg" alt="apt-get_scim-thai" /><br />
4. once you finished installation; restart once--I don't think it needs to but scim sometimes confuses about adding new stuffs.<br />
<img src="http://blog.10ninox.com/wp-content/uploads/2007/12/choose_layout.jpg" alt="choose_layout_in_scim-thai" /><br />
5. After you get back; setting in SCIM then you all set!<br />
<img src="http://blog.10ninox.com/wp-content/uploads/2007/12/test-kb.jpg" alt="test_keyboard_on_eee" /></p>
<p>Happy New Year! I hope you find some fun with your Eee PC!</p>