LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2009, 10:26 AM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
How to type chinese characters in slackware


Hi, i like to write chinese characters in slackware. I'm using slackware 12.1 and kde.
What packages can i install to enable this feature?

Thanks

Last edited by vitalstrike82; 04-19-2009 at 10:37 AM.
 
Old 04-19-2009, 01:25 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
This text is copied from the Slackware-12.1 CHANGES_AND_HINTS.TXT:

Code:
Input methods for complex characters (CJK, which is shorthand for Chinese,
  Japanese, Korean) and other non-latin character sets have been added. These
  input methods use the SCIM (Smart Common Input Method) platform.
  The environment variables for SCIM support are set in /etc/profile.d/scim.sh
  The requirements for getting SCIM input methods to work in your X session
  are as follows:
  (1) Use a UTF-8 locale. Look in /etc/profile.d/lang.sh for setting your
      language to (for instance) en_US.UTF-8. As a word of warning: maybe you
      should leave root with a non-UTF-8 locale because you don't want root's
      commands to be misinterpreted. You can add the following line to your
      ~/.profile file to enable UTF-8 just for yourself:
        export LANG=en_US.UTF-8
  (2) Make the scim profile scripts executable. These will setup your
      environment correctly for the use of scim with X applications. Run:
        chmod +x /etc/profile.d/scim.*
  (3) Start the scim daemon as soon as your X session starts. The scim daemon
      must be active before any of your X applications. In KDE, you can add a
      shell script to the ~/.kde/Autostart folder that runs the command
      "scim -d". In XFCE you can add "scim -d" to the Autostarted Applications.
      If you boot your computer in runlevel 4 (the graphical XDM/KDM login)
      you can simply add the line "scim -d" to your ~/.xprofile file.
      This gives you a Desktop Environment independent way of starting scim.
  When scim is running, you will see a small keyboard icon in your system tray.
  Right-click it to enter SCIM Setup. In 'Global Setup' select your keyboard
  layout, and you are ready to start entering just about any language
  characters you wish! Press the magical key combo <Control><Space>
  in order to activate or deactivate SCIM input. The SCIM taskbar in the
  desktop's corner allows you to select a language. As you type, SCIM will show
  an overview of applicable character glyphs (if you are inputting complex
  characters like Japanese). 

If you are using the pinentry-gtk2 interface (for entering passphrases with 
  gpg-agent), be aware that there is a bug in the way scim-bridge and the
  pinentry-gtk2 interact.  The result is that keyboard input does not register
  with pinentry-gtk2.  For the time being, either change the /usr/bin/pinentry
  symlink to use the qt or curses frontend, or don't use scim.
Eric
 
Old 04-21-2009, 07:42 AM   #3
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
This thread might be somehow helpful to you.
http://www.linuxquestions.org/questi...re12.1-647929/
Mark
 
Old 04-21-2009, 09:24 AM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Don't mean to totally hijack this thread, but I was wondering:

Does SCIM support the wubi-input method style for simplified Chinese? I will need that at some point, and there are other methods for inputing simplified Chinese, but I prefer wubi. http://en.wikipedia.org/wiki/Wubi_method
 
Old 04-21-2009, 08:27 PM   #5
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Quote:
Originally Posted by Jeebizz View Post
Don't mean to totally hijack this thread, but I was wondering:

Does SCIM support the wubi-input method style for simplified Chinese? I will need that at some point, and there are other methods for inputing simplified Chinese, but I prefer wubi. http://en.wikipedia.org/wiki/Wubi_method
It has "五笔字型" input-method which I cannot find the English name in my box. ;-)
 
  


Reply



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
convert chinese characters -> pinyin secretlydead Linux - General 0 02-07-2008 11:19 PM
Input chinese characters wizzkid8 Linux - Software 5 09-19-2007 10:21 PM
displaying Chinese characters Tereno Linux - General 0 12-16-2005 03:05 PM
problem with some Chinese characters shockers_jm Linux - Software 0 03-10-2005 04:18 PM
Konqueror does not display Chinese characters correctly whitefox Slackware 3 03-01-2004 08:40 PM

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

All times are GMT -5. The time now is 06:35 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