| adm | Find | login register |
Guest joined: 2010-06-05 posted: 57 promoted: 2 bookmarked: |
| ||||||||||
eliu joined: 2007-08-09 posted: 11474 promoted: 617 bookmarked: 187 新竹, 台灣 |
| ||||||||||
Guest joined: 2010-06-05 posted: 57 promoted: 2 bookmarked: |
可以,比如說vim, gedit, firefox, emesene, OO.o都可以。不過印象中之前是在ubuntu下使用emacs snapshot,現在有點年代久遠,可能印象會出錯。 edited: 1
| ||||||||||
Guest joined: 2010-06-05 posted: 57 promoted: 2 bookmarked: |
其實不是個好的解決方案,不過確是個workaround - 直接在gnome-terminal裡開emacs。 emacs -nw 這樣就又可以用gcin打中文了 | ||||||||||
Guest joined: 2010-06-05 posted: 57 promoted: 2 bookmarked: |
今天無意中找到了解決的方法,原來是之前沒有export LC_CTYPE=zh_TW.UTF-8。以下是在Arch Linux下,我的profile檔,給有需要的人作參考: ######################## #/etc/profile.d/gcin.sh ######################## if [ "$DISPLAY" ] then export LC_CTYPE=zh_TW.UTF-8 export GTK_IM_MODULE=gcin export QT_IM_MODULE=gcin export XMODIFIERS=@im=gcin gcin & fi | ||||||||||
eliu joined: 2007-08-09 posted: 11474 promoted: 617 bookmarked: 187 新竹, 台灣 |
| ||||||||||
Guest joined: 2010-06-05 posted: 57 promoted: 2 bookmarked: |
請問eliu你指的是"沒有export LC_CTYPE=zh_TW.UTF-8"這設定嗎? 我是參考Arch Linux Gcin條目內提到的: Note: You must set the LC_CTYPE locale even if it's the same as LANG, otherwise gcin may not be activated in non-gtk2 programs that use x input. | ||||||||||
eliu joined: 2007-08-09 posted: 11474 promoted: 617 bookmarked: 187 新竹, 台灣 |
這應該就是 XIM |
| adm | Find | login register |