help,xcin can't enter chinese?

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

help,xcin can't enter chinese?

文章markab » 週日 10月 27, 2002 9:16 am

I already install xcin(apt-get install xcin),but it' just can input engulish , i type crtl+shift also can't change to chinese input , could someone to help me , thanks everyone very much ^^
markab
可愛的小學生
可愛的小學生
 
文章: 5
註冊時間: 週六 10月 26, 2002 2:29 pm
來自: taipei

文章janker » 週日 10月 27, 2002 10:34 am

http://xcin.linux.org.tw/FAQ.html

QB.10: 要如何在一進入 X Window 時就啟動 xcin 呢?

如果您是在文字模式下打 startx 或其他類似的指令進入 X Window 環境的話,請
您編輯您的 $HOME/.xinitrc 檔案,將啟動 xcin 的指令寫進去。如果您原本沒有
$HOME/.xinitrc 檔的話,請您自行編寫一個,它的內容大致如下:

========================== Cut Here ====================================
#!/bin/sh

PATH=$PATH:/usr/X11R6/bin:/usr/local/bin; export PATH
LC_CTYPE=zh_TW.Big5; export LC_CTYPE
XMODIFIERS="@im=xcin"; export XMODIFIERS
xcin &
exec <start_your_WM>
========================== Cut Here ====================================

其實..在我自己的debian上,$HOME/.xinitrc 加入這些東東,
會進不了kde,我是把它加在/etc/X11/底下的某一個scriptl裡面才OK 的,不知是啥原因 :shock:
janker
可愛的小學生
可愛的小學生
 
文章: 18
註冊時間: 週二 9月 17, 2002 10:51 am
來自: 高雄

文章訪客 » 週日 10月 27, 2002 11:35 am

janker 寫:其實..在我自己的debian上,$HOME/.xinitrc 加入這些東東,
會進不了kde,我是把它加在/etc/X11/底下的某一個scriptl裡面才OK 的,不知是啥原因 :shock:


How do you start X window? From console (e.g., startx) or login at a graphic interface (e.g., kdm)?
訪客
 

文章octapult » 週日 10月 27, 2002 2:03 pm

使用 kdm 的情況是,/etc/profile 和 ~/.bashrc...等等的設定並不會被讀進來。如果想要使用 kdm,又想要 export 一些環境變數,可以加在 /etc/environment ,或者也可以加在 /etc/kde3/kdm/Xsession 裡面 (kde2 的使用者則是修改 /etc/kde2/kdm/Xsession)。

1. 加在 /etc/environment 的範例:
代碼: 選擇全部
LANG=zh_TW.Big5
LC_ALL=zh_TW.Big5
XMODIFIERS=@im=xcin

至於 xcin 可以在進入 X 以後,開啟終端機,輸入 xcin& 就可以了。

2. 加在 /etc/kde3/kdm/Xsession (/etc/kde2/kdm/Xsession) 的範例:
代碼: 選擇全部
export LANG=zh_TW.Big5
export LC_ALL=zh_TW.Big5
export XMODIFIERS=@im=xcin
exec xcin&

進入 X 後,xcin 就已經自動載入了。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

文章markab » 週日 10月 27, 2002 7:25 pm

不好意思
我的英文不太好,各位大大可能誤會我的意思了,我的問題是我可以看得到xcin的畫面,可是他永遠是英數輸入法,不能換到其他的,請問一下這該枕麼解決呢??
markab
可愛的小學生
可愛的小學生
 
文章: 5
註冊時間: 週六 10月 26, 2002 2:29 pm
來自: taipei

文章octapult » 週一 10月 28, 2002 12:59 am

請記得安裝 libtabe-db 和 libtabe2。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

文章janker » 週一 10月 28, 2002 8:29 am

只要xcin有設定在$HOME/.xinitrc裡面
使用kdm 跟從console輸入startx都一樣,kde進不去...
我的debian並沒有/etc/environment這個檔
目前是把xcin的設定放在/etc/X11/Xsession.d/99xfree86-common_start裡面,一切正常 :shock: 搞不懂...
janker
可愛的小學生
可愛的小學生
 
文章: 18
註冊時間: 週二 9月 17, 2002 10:51 am
來自: 高雄

文章高原之狼 » 週一 10月 28, 2002 9:19 am

janker 寫:只要xcin有設定在$HOME/.xinitrc裡面
使用kdm 跟從console輸入startx都一樣,kde進不去...
我的debian並沒有/etc/environment這個檔
目前是把xcin的設定放在/etc/X11/Xsession.d/99xfree86-common_start裡面,一切正常 :shock: 搞不懂...

Okay then I have some idea.

If I remember correctly, Debian does not use the ~/.xinitrc scheme to configure your X window. Try instead write everthing in ~/.xsession (if it does not exist, create it). Of course do not forget the last "exec <YOUR_WINDOW_MANAGER>" line. See if this works.

I am also a newbie to linux. So please correct me if I am wrong. Hope this helps.
高原之狼
懵懂的國中生
懵懂的國中生
 
文章: 185
註冊時間: 週一 10月 28, 2002 5:54 am

文章janker » 週一 10月 28, 2002 12:44 pm

sorry,之前忘了說明,~/.xsession也是同樣情形
真是神奇.....
janker
可愛的小學生
可愛的小學生
 
文章: 18
註冊時間: 週二 9月 17, 2002 10:51 am
來自: 高雄

文章高原之狼 » 週二 10月 29, 2002 7:19 am

janker 寫:sorry,之前忘了說明,~/.xsession也是同樣情形
真是神奇.....

I am just _guessing_ here, it may not work or may be wrong at all --

But what will happen if you write your ~/.xsession like this:
代碼: 選擇全部
#!/bin/sh
if [ -f /etc/X11/Xsession ]
then
    source /etc/X11/Xsession
fi
# Your xcin settings...
...
# Your window manager
exec ...


I am also new to Linux and do not know much about the X setup process. This is just a wild guess and please correct me if I am wrong.
高原之狼
懵懂的國中生
懵懂的國中生
 
文章: 185
註冊時間: 週一 10月 28, 2002 5:54 am

文章訪客 » 週二 10月 29, 2002 10:54 am

help , i already install libtabe-db and libtabe2 , and i edit the .xinitrc .xsession , i can see the xcin window but i just can't change it to the chinese input, could anyone tells me what happened
訪客
 

文章octapult » 週二 10月 29, 2002 11:36 am

請由終端機執行 xcin,看看執行的過程是否有任何錯誤訊息。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

文章訪客 » 週二 10月 29, 2002 11:40 am

i enter xcin

XCIN (Chinese XIM server) version 2.5.3-pre2.
(module ver: 20010918, syscin ver: 20000210).
(use "-h" option for help)

xcin: locale "zh_TW.Big5" encoding "big5"
zh_TW.Big5,zh_TW
xcin: XIM server "xcin" transport "X/"
xcin: inp_styles: Root OverTheSpot

i can't see what'wrong
:shock:
訪客
 

文章octapult » 週二 10月 29, 2002 12:53 pm

弟的意思是當您在切換輸入法、還有試著輸入的時候,是否有任何錯誤訊息?Debian 的 xcin package 之前有一個版本有 library 缺少正確的 link 的問題,只有在切換輸入法的時候才會出現錯誤訊息。雖然說最新的版本應該沒有這個問題,不過弟還是希望您試試看。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

文章moto » 週二 10月 29, 2002 12:59 pm

開個 xterm ,然後:

# export LC_ALL=zh_TW.Big5
# export XMODIFIERS="@im=xcin"
# xcin &
# crxvt &

跳到剛剛執行的 crxvt ,然後按 ctrl+space 叫出 xcin
輸入中文看看..
頭像
moto
摩托學園站長
摩托學園站長
 
文章: 2808
註冊時間: 週二 9月 03, 2002 3:37 am
來自: 台北

下一頁

回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客