Archive for the ‘scim’ Category

Enabling SCIM in en_US language environment

January 3, 2007 Leave a comment

When I first setup Ubuntu, and using my X-session in the en_US language environment, the chinese input program SCIM was not started up automatically.

I commonly use the english language for my computing activities, but I use chinese occasionally. Hence I need the SCIM program.

But if I started the SCIM program after the X11 session, I couldn’t trigger the switch to the chinese input interface. Although I could see the icon on my Gnome desktop, but it seems like the SCIM daemon is unable to receive the key inputs to trigger the switch.

Alas! I finally figured out how to start up the SCIM program during the login through the X11 login manager.

Please note that I am doing this in Ubuntu 6.10 and Gnome 2.

Do the following in a terminal shell:

sudo ln -s /etc/X11/xinit/xinput.d/scim /etc/alternatives/xinput-en_US

sudo ln -s /etc/alternatives/xinput-en_US /etc/X11/xinit/xinput.d/en_US

Logout and login again, and you should be able to switch to chinese input in an english environment. You can do the same for other language environments.

Categories: scim, Ubuntu 6.10