LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-21-2010, 01:15 AM   #1
kcynice
Member
 
Registered: Sep 2008
Posts: 94

Rep: Reputation: 16
Question How to input chinese words in xface environment?


This is my first time to try xface in my slackware(I updated my slackware from 12.0 to 13.0 a few days before). But, i don't know how to configure the xface windows environment like KDE(i used this before, but found it's very slow in my my new slack). I browsed all the information on the slackbook but found nothing. Googled, failed too. So, I hope someone would like to tell me how to resolve it. Thnaks.

btw, i use scim.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-21-2010, 04:23 AM   #2
BILLYKANE
Member
 
Registered: Feb 2008
Location: Hefei,Anhui,China
Distribution: Slackware;chakra
Posts: 96

Rep: Reputation: 22
first:
Code:
export LC_CTYPE=zh_CN.UTF-8
second:
Code:
hudi@Slackware_HuDi:~$ cat /WinE/slackware/linux/slackware/scim.sh
#! /bin/sh
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=SCIM
export QT_IM_MODULE=SCIM
export XIM=SCIM
export XIM_PROGRAM=SCIM
export LC_CTYPE="zh_CN.UTF-8"
scim -d &
hudi@Slackware_HuDi:~$
scim.sh is a script that I run it with xfce start.
 
2 members found this post helpful.
Old 04-24-2010, 09:06 PM   #3
kcynice
Member
 
Registered: Sep 2008
Posts: 94

Original Poster
Rep: Reputation: 16
Thanks for your reply. In fact, i didn't understand what you said exactly. It seems that, i have to install wine package?( There isn't any directory named WinE.
 
Old 04-25-2010, 06:40 AM   #4
BILLYKANE
Member
 
Registered: Feb 2008
Location: Hefei,Anhui,China
Distribution: Slackware;chakra
Posts: 96

Rep: Reputation: 22
scim.sh is a script that I write to start scim running with xfce start.
/WinE/slackware/linux/slackware/ is a directory where scim.sh stored.

Below is scim.sh contents:

Code:
#! /bin/sh
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=SCIM
export QT_IM_MODULE=SCIM
export XIM=SCIM
export XIM_PROGRAM=SCIM
export LC_CTYPE="zh_CN.UTF-8"
scim -d &
 
1 members found this post helpful.
Old 04-25-2010, 01:47 PM   #5
gapan
Member
 
Registered: Feb 2007
Posts: 344

Rep: Reputation: 106Reputation: 106
If I remember correctly there is an /etc/profile.d/scim.sh (and .csh) files. Makes those executable with:
Code:
chmod +x /etc/profile.d/scim.sh
The next time you restart your system, scim should be started with xfce. If it isn't, start it from the menu. You should get a scim tray icon then. By right clicking on it, you should be able to select the input mode (anthy?). You should also be able to toggle the scim bar by pressing ctrl-space. This is all from memory, so I could be missing something.
 
1 members found this post helpful.
  


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
Chinese input in English environment satimis Slackware 19 02-21-2007 02:50 AM
Key in Chinese/Japanese words WindowsKiller Suse/Novell 1 11-08-2005 08:50 PM
Input Chinese in English environment qyzlp Linux - General 1 01-04-2005 09:00 PM
To view better chinese words in linux futurist Linux - Software 3 02-12-2004 03:09 AM
How to enter chinese words in linux futurist Linux - General 1 04-09-2003 06:05 PM


All times are GMT -5. The time now is 11:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration