Archive for December, 2009

SCIM in Debian Lenny for Chinese Input

I have to struggle with this whenever I had a new Debian installation. SCIM does not work out of the box in Debian, so there’s some minor configurations to do. But I failed to note it down anywhere, just happily relying on Google.

So yet again, I have a new Debian Lenny installation on my new notebook. And the same story again, I got to search all over Google for the instructions to make it work. So this time round I decided to note it down here so that I can “Read My Own F$#king Manual” next time as well as for the benefit of others.

Step 1:

Install the fonts

aptitude install ttf-arphic-bkai00mp ttf-arphic-uming ttf-arphic-gkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-ukai xfonts-intl-chinese unifont ttf-unifont

Step 2:

Install all the scim related packages

aptitude install scim-pinyin uim-pinyin scim-uim scim-chinese scim-tables-zh

Step 3:

im-switch -c

Select scim and save.

Step 4:

Restart your session by logging out and logging in again.

You should have your SCIM work after that.


What If The ‘Scam’ Email Is For REAL?

I’m sure many if not all of us has received those scams emails claiming to send you millions of dollars. What if one these emails is actually GENUINE?

Here’s the story. A company in London send out an email to a couple of hundreds of people stating to give away $10,000 USD as Christmas gift to the first person to reply with full name and bank account details.

Out these few hundred mails sent out, only ONE person replied with all the necessary information. I’m sure many people would have thrown out the email as spam.  But in this case, it is not a scam. The $10,000 USD was delivered to the person who responded, who in turn donated the money to charity as a good act for Christmas.

Watch the YouTube video for the whole story.

httpv://www.youtube.com/watch?v=b4xHc2Ow9CY

And the folks who pulled this off:

http://www.motherlondon.com/


New Bluetooth Kernel Module Doesn’t Play Well

Recently got a mini usb bluetooth dongle. Sad thing is that I found that it doesn’t play well in the latest version of Ubuntu. Did a quick search on Google and found that it’s because of the new btusb kernel module in the latest kernels. The old kernels were using hci_usb.

I booted up Debian with kernel 2.6.24 to verify and the dongle works perfectly. I was actually worried that the dongle I got was faulty. Now I’m contemplating compiling kernel 2.6.32 to see if the problem gets fixed. Still reading through the release notes of 2.6.32 though.

Better ideas anyone?


Virtualbox – When 1 CPU is better than 2

The need for speed is never satiable. I was running Windows XP in Virtualbox with 1 VCPU all these while. Speed was acceptable for me to do my office related stuff like Exchange and Office.

My CPU was a Core2Duo with HyperThread. So technically, I have 4 VCPU to play with. So I decided I could spare another 1 core for my Windows XP installation. The result – Terrible.

Windows XP booting took more than 5 mins as compared to about 1.5mins previously. Ran top and saw that Virtualbox was using 198% CPU. Normal circumstances with 1 VCPU, it would be at 98%. Switched back to 1 VCPU, things became normal again.

I’m not too sure if it’s Virtualbox that’s not handling the job scheduling correctly, but if anyone runs into this problem of having slow performance in Virtualbox, this could be the solution.


平凡

平凡,不是要您放弃拥有一切世俗的物质,只是要你放下你所不能承担的欲望。

当你撇下了心里的虚荣,你就是平凡。


  • My Tweets

  • Copyright © 1996-2010 YiBi's Life|Live Log. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress