LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-31-2006, 01:14 AM   #1
kevin_chn
LQ Newbie
 
Registered: Dec 2006
Posts: 12

Rep: Reputation: 0
[Technique]The Easiest Way to Use SCIM in English Environment under Ubuntu


I have incidentally found a very simple way to use SCIM pinyin input in english environment under Ubuntu (mine is 6.06 BTW).

In /etc/X11/xinit,
there is a dir called 'xinput.d', which I guess has sth to do with input methods.

There are some symbolic links in that dir, maybe one called 'zh_CN', another in my system is 'zh_TW'.

zh_CN points to /etc/alternatives/xinput-zh_CN

after 'cat zh_CN', I believe that this file is the script which will be run when we enter X using Chinese language localization.

So I hopelessly created a same symbolic link as zh_CN, which I named 'en_US', and, it WORKS FINE!

==================================
CONCLUSION: just run:
ln -s /etc/alternatives/xinput-zh_CN /etc/X11/xinit/xinput.d/en_US
==================================
And this single command does it once and for all.
Enjoy.
 
Old 01-01-2007, 10:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should never lie about locales and such... pretty ugly way to achieve a "fix" i'd have thought...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I input other languages use SCIM on an English session? jialin Fedora 2 05-09-2006 09:13 AM
enable scim in english enviroment demmylls Linux - Software 10 02-15-2005 09:58 PM
How to check English spell within a Chinese environment wuqso Linux - Software 0 01-06-2005 02:07 AM
Input Chinese in English environment qyzlp Linux - General 1 01-04-2005 08:00 PM
start XCIN in English environment raylpc Linux - Newbie 5 10-20-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration