我的xcin會越跑越高

Moderator: Forums Team

Post Reply
betaparticle
Posts: 312
Joined: Thu Jan 01, 2004 12:46 pm

我的xcin會越跑越高

Post by betaparticle »

當我按ctrl-space,xcin的輸入視窗會跑出來,再按一次ctrl-space,xcin的輸入視窗會消失。
當我按下三次ctrl-space時,xcin的輸入視窗又跑出來,但是比較高一點。所以,當我打字的時候,如果中英文交換太多次,就會越來越高。一直頂到視窗上緣為止。
一般來說問題是不大。但是有時會擋住我正在打字的視窗,我就得要一直把它拉下來。
你們有聽過有人發生過這樣的事情嗎?

我的xcinrc是這樣的:

Code: Select all

;
;  Xcin resource file for GNU/Linux
;
;  By T.H.Hsieh.
;

;
;  Directories.
;
(define XCIN_DEFAULT_DIR      "/usr/lib/X11/xcin25")
(define XCIN_USER_DIR         ".xcin")

;
;  This defines GUI attribute.
;
(define INDEX_FONT  		"-sony-*-16-*-iso8859-1")
(define FG_COLOR    		"white")
(define BG_COLOR    		"blue")
(define M_FG_COLOR  		"yellow")
(define M_BG_COLOR  		"darkred")
(define ULINE_COLOR		"cyan")
(define GRID_COLOR		"white")
(define X_GEOMETRY  		"45x2+200-15")
(define START_MAINWIN2		"YES")
(define MAINWIN2_GEOMETRY	"27x1+200-15")
(define XCIN_HIDE   		"NO")
;(define XCIN_HIDE   		"YES")
(define XKILL_DISABLE		"NO")
(define ICCHECK_DISABLE		"NO")
(define SINGLE_IM_CONTEXT	"NO")
(define IM_FOCUS_ON		"NO")
(define KEEP_POSITION_ON	"NO")
(define DIFF_BEEP		"YES")
(define KEYBOARD_TRANSLATE	"NO")

(define LOCALE	'(zh_TW.big5 zh_HK.Big5HKSCS zh_CN.GB2312 zh_CN.GBK))

;
;  XIM Input Style Adjustments.
;
;(define INPUT_STYLE		'(Root OverTheSpot))
(define INPUT_STYLE		'(OverTheSpot Root))
(define OVERSPOT_USE_USRCOLOR	"YES")
(define OVERSPOT_USE_USRFONTSET "YES")
(define OVERSPOT_WINDOW_ONLY	"YES")

;
;  Special Trigger Keys.
;
;(define FKEY_ZHEN		"ctrl space")
;(define FKEY_2BSB		"shift space")
;(define FKEY_CIRIM		"ctrl shift")
;(define FKEY_CIRRIM		"shift ctrl")
;(define FKEY_CHREP		"ctrl alt r")
;(define FKEY_SIMD		"ctrl alt i")
;(define FKEY_IMFOCUS		"ctrl alt f")
;(define FKEY_IMN		"ctrl alt")
;(define FKEY_QPHRASE		"shift alt")

;
;  IM module default resources.
;
(define gen_inp_default
        '((AUTO_COMPOSE         YES)
          (AUTO_UPCHAR          YES)
          (AUTO_FULLUP          NO)
          (SPACE_AUTOUP         NO)
          (SELKEY_SHIFT         NO)
          (SPACE_IGNORE         NO)
          (SPACE_RESET          YES)
          (AUTO_RESET           NO)
          (WILD_ENABLE          YES)
          (SINMD_IN_LINE1       NO)
          (END_KEY              NO)
          (QPHRASE_MODE         0)      ; 1:shift, 2:ctrl, 4:alt, 8:fallback
          (DISABLE_SEL_LIST     "NONE")
	  (KEYSTROKE_REMAP	"NONE")
          (BEEP_WRONG           YES)
          (BEEP_DUPCHAR         NO)
          (TSI_FNAME            "/usr/share/tsi.db")
	  (HINT_SELECT		NO)
	  (HINT_TSI		NO)))

(define bimsphone_default
        '((N_SELECTION_KEY      9)
          (SELECTION_KEYS       0)      ; 0: "1234567890", 1: "asdfgjkl;"
          (PAGE_KEYS            5)      ; 1:<> 2:,. 4:(Rt)(Lt)
          (QPHRASE_MODE         1)      ; 1:shift, 2:ctrl, 4:alt, 8:fallback
        ;
        ; This is only valid for "bimsphone*" IM name.
          (AUTO_SELECTION       YES)
          (KEYMAP               0)      ; 0:zozy, 1:et, 2:et26, 3:hsu
        ;
        ; This is only valid for "bimspinyin*" IM name.
          (PINPHO_MAP           "bims_pinyin")
        ;
        ; The following has effect only when AUTO_SELECTION is YES
          (TSI_FNAME            "/usr/share/tsi.db")
          (YIN_FNAME            "/usr/share/yin.db")
	  (TSI_USERDEF_FNAME	"utsi.db")
	  (YIN_USERDEF_FNAME	"uyin.db")
          (SPACE_SELECTION      NO)
          (PHRASE_SELECTION     YES)
          (N_SELECTION_PHR      4)
        ;
        ; The following has effect only when AUTO_SELECTION is NO
          (AUTO_UPCHAR          YES)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_TW.Big5 locale 
;
(define zh_TW.big5 
  '((DEFAULT_IM		"liu5")
    (DEFAULT_IM_MODULE	"gen_inp")
    (DEFAULT_IM_SINMD	"DEFAULT")
    (PHRASE		"default.phr")
;    (CINPUT		(cj simplex phone bimspinyin bimsphone chewing
;			 array30 jyutping jyutping0 zh_hex))
    (CINPUT		(liu5 bimsphone chewing
			 zh_hex))
;    (FONTSET		"-sony-*-24-*-iso8859-1,-kc-*-medium-r-*-24-*-big5-0")
(FONTSET		"-sony-*-24-*-iso8859-1,-kc-fixed-medium-r-normal--24-240-100-100-c-240-big5-0")    
;    (OVERSPOT_FONTSET   "-sony-*-16-*-iso8859-1,-kc-*-medium-r-*-16-*-big5-0")))
(OVERSPOT_FONTSET   "-sony-*-16-*-iso8859-1,-kc-fixed-medium-r-normal--16-160-72-72-c-160-big5-0")))
;
;  Here are detailed configuration of each IM (for zh_TW.Big5 locale).
;
;(define cj@big5
;	'((SETKEY		1)))
(define liu5@big5
	'((SETKEY		1)))	
(define simplex@big5
	'((SETKEY		2)))

(define phone@big5
	'((SETKEY		3)
	  (END_KEY		YES)
	  (BEEP_DUPCHAR		YES)))

(define jyutping@big5
	'((SETKEY		4)
	  (END_KEY		YES)
      	  (BEEP_DUPCHAR		YES)))

(define bimspinyin@big5
	'((SETKEY		5)
	  (MODULE		"bimsphone")))

(define bimsphone@big5
	'((SETKEY		6)
	  (MODULE		"bimsphone")))

(define chewing@big5
        '((SETKEY		7)
         (KB_TYPE		"KB_DEFAULT")
         (MODULE		"chewing")))

(define array30@big5
	'((SETKEY		8)
      	  (BEEP_DUPCHAR		YES)
	  (DISABLE_SEL_LIST	"w")
	  (KEYSTROKE_REMAP	"t:0xaaba;T:0xaaba;")))

(define jyutping0@big5
	'((SETKEY		9)
	  (BEEP_DUPCHAR		YES)))
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post by 【Palatis】 »

(define KEEP_POSITION_ON "NO")

改 yes.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
betaparticle
Posts: 312
Joined: Thu Jan 01, 2004 12:46 pm

Post by betaparticle »

【Palatis】 wrote:(define KEEP_POSITION_ON "NO")

改 yes.
改了,還是一樣……
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

betaparticle wrote:
【Palatis】 wrote:(define KEEP_POSITION_ON "NO")

改 yes.
改了,還是一樣……
我也有這個問題..
benny 你不也是有用 gnome 嗎?
你的 xcin 不會這樣嗎?
叫我老帕好了!
Image
jlovet
Posts: 7
Joined: Sat Feb 22, 2003 7:11 pm
Location: 國立鳳梨田大學,民雄
Contact:

Post by jlovet »

(define X_GEOMETRY "66x2+65+682")

Try this. :D
我喜歡惡搞網路..惡搞阿惡搞..拉拉拉
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

jlovet wrote:(define X_GEOMETRY "66x2+65+682")

Try this. :D
感謝..可以了.. 不過 66x2 似乎太大了點.. :lol:
叫我老帕好了!
Image
scsi
Posts: 1326
Joined: Tue Oct 14, 2003 7:49 am
Contact:

Post by scsi »

paar wrote:
jlovet wrote:(define X_GEOMETRY "66x2+65+682")

Try this. :D
感謝..可以了.. 不過 66x2 似乎太大了點.. :lol:
我是設

Code: Select all

(define X_GEOMETRY              "52x2+650-45")
但是我的字型都是設16的,而不是24
24我覺得太大了
世界再大,不過是妳我之間的事
:111.gif: 欲使用GOT的ebuild請看Gentoo 台灣中文 Ebuild 使用指南
Image  我的部落格
User avatar
benny
Posts: 1120
Joined: Sun Apr 06, 2003 7:03 pm
Location: 家裡
Contact:

Post by benny »

我也是用 geometry :P
GOT 討論區管理規則及使用指南
http://forums.gentoo.tw/viewtopic.php?t=43260
實行中!
加入 GOT 的郵件討論!
http://lists.linux.org.tw/cgi-bin/mailm ... nfo/gentoo
betaparticle
Posts: 312
Joined: Thu Jan 01, 2004 12:46 pm

Post by betaparticle »

scsi wrote:
paar wrote:
jlovet wrote:(define X_GEOMETRY "66x2+65+682")

Try this. :D
感謝..可以了.. 不過 66x2 似乎太大了點.. :lol:
我是設

Code: Select all

(define X_GEOMETRY              "52x2+650-45")
但是我的字型都是設16的,而不是24
24我覺得太大了
我搞定了。
我的狀況是這樣:
如果我設成 "52x2+650-45" 後面的最後一個數字是負的,就會越來越高。
如果我設成 "45x2+65+640" 後面的最後一個數字是正的,就不會越來越高。

最後,謝謝大家的幫助。
danieltwpda
Posts: 62
Joined: Sat Nov 29, 2003 3:52 pm
Location: 南極洲

Post by danieltwpda »

我的 xcin 也有這問題, 我比較喜歡設定 負值, 但是一設就會越來越低. 我記得以前不會有這問題.(一個月前的系統,現在用的是重裝的). 不知道是那邊的 bug 造成. 難道是 Xwin?
-- fluxbox 0.9.9 快到 1.0 囉! 但是還沒有 save 多重視窗位置的功能 :(
ww
Posts: 142
Joined: Sun Feb 15, 2004 3:37 pm
Contact:

Post by ww »

不好意思借問一下
xcin 有沒有比較新的 ebuild 啊?
gentoo 那個2.5.3_pre2 好像有點舊了
如果要用 firefly 的 patch,好像要用2.5.3_pre3才可以
kiko555
Posts: 152
Joined: Mon May 26, 2003 4:33 pm
Contact:

Post by kiko555 »

Code: Select all

(define X_GEOMETRY              "45x2+200-1")
我只有把...."-1"拿掉就不會往上跑了....
Post Reply