歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 五筆愛好者的福音:新版本的陳橋五筆出來了

五筆愛好者的福音:新版本的陳橋五筆出來了

日期:2017/2/27 9:22:33   编辑:更多Linux
  五筆愛好者的福音:新版本的陳橋五筆出來了,真的好用! 安裝方法如下: 新版本的陳橋五筆去除了原來的注冊提示,輸入框也做了美化,與WINDOWS下的沒有什麼區別,因為我一直使用它,所以當它出了新版本出,馬上下載使用,但它的安裝過程卻是讓我大費周折,但不管咋樣,還是安裝好了,可以說,這真的是為使用五筆輸入中文的朋友提供了一個非常好的選擇,下面是安裝過程與設置方法,與大家分享。在我安裝前曾打電話給陳橋五筆的作者,討論我在安裝過程中出現的問題,但因作者的OS與我的不同(好象是中科的,不記得了!),所以對我產生的這些問題一時也不好解決,用了差不多一天的時間,下載相關的軟件,安裝,調試,設置,最後還是到了家裡再次安裝後才正常使用了,這個教程就是用它寫的! 第一步:要下載幾個軟件或源程序: 1、chznwb-1.1.tar 2、unicon2-im.tar.gz 3、pth-1.3.7-3.i386.rpm 4、unicon-3.0.2-im_1.i386.rpm 5、imlib-1.9.14-2.i686.rpm(這個不一定需要,如有提示少什麼東西,安裝這個吧!) 可能還要別的程序或軟件,有問題時再發貼! 第二步: 1、#rpm -ivh pth-1.3.7-3.i386.rpm unicon-3.0.2-im_1.i386.rpm 2、#cp unicon2-im.tar.gz /usr/lib/ #tar zxvf unicon2-im.tar.gz #rm -f unicon2-im.tar.gz 3、由於 Chinput 需要 libstdc++-lib6.1-2.so.3,而 RedHat 的 compat-libstdc++ 兼容庫中只包含 libstdc++-2-libc6.1-1-2.9.0.so,則需手動建立一個庫鏈接: #cd /usr/lib/ #ln -s libstdc++-2-libc6.1-1-2.9.0.so libstdc++-libc6.1-2.so.3 4、#tar zxvf Chinput-3.0.2.tar.gz #cd Chinput-3.0.2 #make #make install #kate /usr/lib/ZWinPro/Chinput.ad 這裡要修改成這樣:(見下面的完整文檔!) 5、#tar xvf chznwb-1.1.tar #cd znwb #make #kate /usr/lib/chznwb/chznwb.ad 修改成: chznwb.font = 8x16 chznwb.gbfont = -*-*-*-*-*--*-*-*-*-*-*-gb2312.1980-0 chznwb.big5font = -*-*-*-*-*--*-*-*-*-*-*-gb2312.1980-0  #chinput 6、這時再修改usr/lib/ZWinPro/Chinput.ad 這個文件,看你還喜歡用哪個輸入法,如果只用陳橋五筆,那就修改成這樣: (最後完整的文檔!) !!! !!! This file is part of !!! !!! TurboLinux ZWinPro !!! !!! Copyright (C) 1999 TurboLinux, Inc. !!! All Rights Reserved !!! Distributed under the terms of the GNU General Public License (GPL) !!! !!! !!! Authors: TurboLinux Chinese Development Team: !!! Justin Yu <[email protected]> !!! Sean Chen <[email protected]> !!! Daniel Fang <[email protected]> !!! WWW: http://www.turbolinux.com.cn/ZWinPro/ !!! FTP: ftp://ftp.turbolinux.com.cn/pub/ZWinPro/ !!! ! ! Resource file for Chinput-3.0 !!! Generated by zwincontrol, Please do not edit by hand ! ! ! locales ! chinput.gblocale = zh_CN


chinput.gbklocale = zh_CN.gbk chinput.gb18030locale = zh_CN.gb18030 chinput.big5locale = zh_TW.big5 ! ! input style: AUTO, ROOT, OVERSPOT, ONSPOT, OFFSPOT ! chinput.dmode = OFFSPOT ! ! input window auto-hide mode AUTO or NO, only for CARET mode ! chinput.hmode = NO ! ! choice window auto popup mode: AUTO or NO, only for ONSPOT style ! chinput.cmode = NO ! ! area style for OFFSPOT style, CLIENT or SERVER ! chinput.areamode = CLIENT ! ! show input method in the input window ! chinput.showime = NO ! ! input method ! for gb : TONEPY, PY, CCDOSPY, WuBi, CangJie, English, CTLau, SW, ! QianMa, TeleCode, ZRM ! for big5: PY, ETZY, ZOZY, Simplex, CangJie, ! English, 4Corner, HSU, ARRAY30, Boshiamy ! chinput.dictionary = /usr/lib/unicon2 chinput.inputmethod.gb = ZNWB chinput.inputmethod.big5 = PY ! ! 16 point font set ! chinput.font = 8x16 chinput.gbfont = -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0 chinput.big5font = -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0 ! ! ! inputbar width in chars ! chinput.width = 70 ! ! panel color ! chinput.dimcolor = #666666 chinput.lightcolor = #f5f5f5 chinput.panelcolor = #c0c0c0 chinput.hzcolor = #000000 chinput.ledcolor = #00ff00 chinput.barcolor = #000080 ! ! handwriting recognition timeout ! chinput.hwtimeout = 1500 ! ! Input Method read by chinput ! Format: The following items should be in the correct order ! [Section] : Input Method, the same in chinput.inputmethod.gb ! NAMEGB : Name for gettext ! NAMEBIG5 : Name appeared in input bar ! ENCODING : Encoding for this IME, should be GB or BIG5 ! PROMPT : Appeared in two rows input bar ! FILE : Where the input method file located, maybe absolute path ! or relative to chinput.dictionary ! MODULE : absolute path of module ! FAVORITE : I like this input method ! [ZNWB] IMENAME = 智能五筆 IMENAME = 醇?撣 ENCODING = GB FILE = gb/WuBi.tab MODULE = /usr/lib/unicon2/TL_hzinput.so FAVORITE = YES   上面是我完全修改後的文件,其中,有幾個是我在成功安裝前遇到的問題,已經解決,其實就是設置的問題,按上面的設置就可以了,當然如果你不用五筆輸入法,也沒這麻煩了! 重新啟動X,ctrl+space看有什麼出來了? 在裡還有一個前提條件,就是你以前也可以使用五筆輸入法,這樣就可以不用再修改別的地方就可以使用輸入法了!  我使用的是英文系統,中文系統是不是能正常使用我沒有測試! 安裝後的設置: 將/etc/sysconfig/i18n 修改成: LANG="en_US.UTF-8" LC_CTYPE=zh_CN.GB18030 SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16" 其實就是加入了:LC_CTYPE=zh_CN.GB18030 這一行!

現在你注銷看看輸入法是不是自動運行了?ctrl+space是不是出來輸入法了? 再說幾句:所謂當前目錄就是你一進入SHELL的目錄,這些操作是要ROOT權限的! 加在 /etc/profile: eXPort GTK_IM_MODULE=xim 這一行,可以解決在英文環境下的gaim 及其它英文軟件中不能直接調用中文輸入法的問題! 有問題再一起解決吧!祝好運! 上面提到的軟件可以在下面的幾個地方下載到: http://www.linuxaid.com.cn/engineer/hubertzou/ http://www.znwb.com/linux.Html http://rpmfind.net/linux/RPM/PLD/di....14-2.i686.html



這一行,可以解決在英文環境下的gaim 及其它英文軟件中不能直接調用中文輸入法的問題! 有問題再一起解決吧!祝好運! 上面提到的軟件可以在下面的幾個地方下載到: http://www.linuxaid.com.cn/engineer/hubertzou/ http://www.znwb.com/linux.html http://rpmfind.net/linux/RPM/PLD/di....14-2.i686.html



Copyright © Linux教程網 All Rights Reserved