Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

Friday, September 7, 2012

How I fixed the IBus Cangjie IME table for good on Fuduntu

I type a lot of Chinese on my computer. I first learned Cangjie in my teens, and it has been my primary input method to this day. After reinstalling Fuduntu on my new laptop, imagine my despair that as I type up Chinese passages, Cangjie codes for common characters - that I have mostly taken for granted - suddenly becomes unrecognized. To add insult to injury, the Cangjie 3 table in SCIM has all these codes in there.

In Linux Cangjie is supported by SCIM (and later IBus) by their table engines. There are three versions of Cangjie tables - Cangjie 3, Cangjie 5, and "Cangjie-big" which covers characters in Unicode extension B block, where many written Cantonese characters belong, and which I handle a lot of. So at one time I have had all three tables loaded, and have had to flip between all of them in the course of typing up one passage. It is a nuisance and hampers my speed.

So I have a solution: Merge them into one master table and load it instead. Bring everything under one umbrella.

Unfortunately, for some reason, when I checked the fuduntu repo I was missing the ibus-table package, needed to build new table-based IMEs. I had to compile my own. Good news is you can get the source RPM from the newest Fedora, rebuild it on fuduntu, and install it. I'll leave it as an exercise for you, for now.