LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2003, 02:48 AM   #1
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
How do I enter characters of another language?


How do I enter characters of a language other than English in a text editor?

I mean, is there a switcher, like [Ctrl][Space] in Windows, with which you can switch between different input methods?

In my RH8 box I have installed Simplified Chinese. But I found no clue to invoke the input methods of this language.
 
Old 03-19-2003, 12:48 PM   #2
maldito3
LQ Newbie
 
Registered: Mar 2003
Location: dominican republic
Distribution: Mandrake 9.0
Posts: 22

Rep: Reputation: 15
If you have Gnome installed you can start a keyboard switcher applet, you can put many types of keyboard configurations and switch 'em.
 
Old 03-19-2003, 06:59 PM   #3
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
On my GNOME desktop, I find "Keyboard" in "Preferences" and "System Settings", and "Keyboard Shortcuts" in "Preferences", but not "Keyboard Switcher".

Where can I find it? Thanks!
 
Old 03-21-2003, 10:45 PM   #4
maldito3
LQ Newbie
 
Registered: Mar 2003
Location: dominican republic
Distribution: Mandrake 9.0
Posts: 22

Rep: Reputation: 15
do a Right click on the task bar....add to pannel....Utility....Keyboard Layout Switcher.....
there you can add the languages you want....and even set the default language you want.
 
Old 03-22-2003, 12:53 AM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
can i use it in kde too?
 
Old 03-22-2003, 10:43 PM   #6
maldito3
LQ Newbie
 
Registered: Mar 2003
Location: dominican republic
Distribution: Mandrake 9.0
Posts: 22

Rep: Reputation: 15
I don't think so, but you should check the KDE control center, and see if you can find it there...or something better....READ THE HELP...
 
Old 03-23-2003, 04:06 AM   #7
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Whoa, I just added the disk mounter, now that's useful ...
 
Old 04-07-2003, 03:17 PM   #8
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
How to input in Simplified Chinese

Hi Correro,

yours is one of the most frustrating questions in working out Linux, it took me ages and ages and a lot of reading/joining dots...here goes :

I assume that you have the necessary packages installed for Chinese such as xcin and the rest. They should have installed by default when you Chinese at install time. I assume that you can also read Chinese, which is the really hard bit!

1) Create new user , eg "gbuser" which will be specifically for Chinese use.
2) Log into the new user, and change the KDE settings so that all the menus,messages etc. are in Chinese :-
K/Configuration/KDE/Personalisation/Country&Language and change to P.R.China. Log out and back into user, and hey presto, menus are in Chinese.
3) now here's the bit you really want. As root, edit the file /etc/chinese/xcin/xcinrc to change the following lines to "NO" (they are defaulted as "YES") :-

(define XCIN_HIDE "NO")
and
(define OVERSPOT_WINDOW_ONLY "NO")
4) in a terminal, type the following to start up the xcin server :-
xcin -x xcin & [I dunno if the xcin -x bit really matters, xcin & is OK]
5) the xcin window should appear, so start up Kword and set the font to a Chinese one like the Ar P1 Kaitim GB (the nicest regular Chinese font) which should have loaded into Linux by default at install time.
6) now press Ctrl + Space and you should be able to input. I think the key is Ctrl+Shift or Alt+Shift to change input methods - try out a couple but Pinyin is the easiest by far.
7) note : the Keyboard Select function in KDE has nothing to do with inputting Chinese coz it's a complicated character set etc. blah blah...

Let us know how that went...cheers...JDW
P.S. cxterm is a cool chinese term, and emacs can also input Chinese text files (even if the user environment is English!) without all this stuffing around...
 
Old 04-07-2003, 03:27 PM   #9
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
Sorry! This is REALLY important. without this xcin willnot work. you have to do this in order to make the default locale environment of the Chinese user to be set to simplified Chinese...

Forgot a very important bit of info...when you create the new CHinese user, you have to add the following lines into your /home/[username]/.bashrc file :-

LANG=zh_CN.GB2312; export LANG
LC_ALL=zh_CN.GB2312; export LC_ALL
LC_CTYPE=zh_CN.GB2312; export LC_CTYPE
XMODIFIERS="@im=xcin-zh_CN.GB2312"; export XMODIFIERS

cheers & beers.....
 
Old 04-07-2003, 07:46 PM   #10
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Original Poster
Rep: Reputation: 15
thanks JDW!
i've been so frustrated that i almost gave up
but now i see the light of hope @_@
 
Old 04-09-2003, 05:13 PM   #11
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
How do I enter characters of another language?

Hey,

I don't wanna drag this out for ever an ever, but I should have mentioned that if you are in your normal English (or whatever other non-Chinese language is your favourite), you can still enter Chinese into Kword by typing the following into a terminal :-

su gbuser
password : [enter pword]

xcin & kword

So what you're doing is logging into the gbuser environment and running Kword in that environment with the Chineselocale settings...
 
Old 04-09-2003, 09:58 PM   #12
futurist
Member
 
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
will try it.
 
Old 07-11-2003, 02:38 AM   #13
mihailolja
LQ Newbie
 
Registered: Jul 2003
Location: Bristol England
Distribution: Mandrake 9
Posts: 11

Rep: Reputation: 0
Mon dieu, Bloody Hell, Bozhe mii!, Αν ειναι δυνατον!

All that hassle just to use different languages???

I'm trying to set up about 5 languages on Linux and find it is so frustrating I may go back to Windows.

Shame but it is not user friendly at all

I will keep trying

Mihailo
 
Old 07-13-2003, 05:31 PM   #14
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
How do I enter characters of another language?

Yeah, it is a bit of stuffing around, but the above thread is specifically for Chinese, which, like Japanese & Korean, is more difficult to get happening than MS.

For any other languages such as French, Russian, Arabic, Hebrew etc. it is no hassle to set those up at all...KDE keyboard switcher applet does a fine job and you can just type straight into Kword or OO Writer...

Don't lose the faith!
 
Old 07-14-2003, 02:29 AM   #15
mihailolja
LQ Newbie
 
Registered: Jul 2003
Location: Bristol England
Distribution: Mandrake 9
Posts: 11

Rep: Reputation: 0
Thanks

Where will I find the KDE keyboard switcher appler?

Regards

Mihailo
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I map my keyboard to be able to enter Danish characters ajede Linux - Hardware 1 10-10-2005 12:17 PM
Non ASCII (language specific) characters in filenames? milicic.marko Linux - General 2 03-19-2005 05:15 PM
"Disk boot failure. Enter system disk and press enter" Fear58 Linux - Hardware 3 06-25-2004 05:17 PM
typing other language characters NGraphiX Linux - General 2 06-16-2003 08:00 AM
How to enter characters of another language? A question asked again correro Linux - General 1 03-24-2003 08:35 AM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration