cht電腦資訊gcingcin分享
adm Find login register

Ubuntu 18.04/16.04/…/12.04 安裝最新的 gcin 中文輸入的完整步驟

guest
211subject: Promote 0 Bookmark 02018-11-25quote  

eliu

 

第一篇

 

謝謝您的回覆,已看到可執行檔的網址。請問目前最新的 2.8.6+eliu-4 版,它的原始碼在哪裡可以下載呢?

eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
212subject: Promote 0 Bookmark 02018-11-25quote  

guest
它的原始碼在哪裡可以下載呢?

過幾天會 release

yochenhsieh
joined: 2009-11-16
posted: 27
promoted:
bookmarked:
213subject: Promote 0 Bookmark 02018-12-11quote  

請問2.8.6之後的修正版本可否發布source code在 http://hyperrate.com/gcin-source/ 呢?

是要打包給其他Linux版本用的,謝謝

guest
214subject: utbuntu 18.04 TextEditor問題Promote 0 Bookmark 02018-12-27quote  

eliu大大你好

小弟使用gcin好幾年,很好用,讚!

最近使用ubuntu 18.04,依照你1樓文章的步驟安裝好gcin,可以正常輸入中文了,

但使用TextEditor有點問題,TextEditor的背景變成紅色的ubuntu桌面顏色,不是正常的白色,不曉得怎麼辦呢?

謝謝你

 

我的環境:

1.ubuntu是18.04.1從官網下載的(ubuntu-18.04.1-desktop-amd64.iso)。

2.gcin版本資訊:

ubuntu@ubuntu-virtual-machine:~$ dpkg -l | grep gcin
ii  gcin                                       2.8.6+eliu-4                        amd64        GTK+ based input method for Chinese users
ii  gcin-data                                  2.8.6+eliu-4                        all          icons and scripts for gcin
ii  gcin-gtk2-immodule:amd64                   2.8.6+eliu-4                        amd64        GTK3 input method module with gcin as backend
ii  gcin-gtk3-immodule:amd64                   2.8.6+eliu-4                        amd64        GTK3 input method module with gcin as backend
ii  gcin-im-client:amd64                       2.8.6+eliu-4                        amd64        GTK3 input method module with gcin as backend
ii  gcin-qt4-immodule:amd64                    2.8.6+eliu-4                        amd64        Qt4 input method module with gcin as backend
ii  gcin-tables                                2.8.6+eliu-4                        all          input method tables for gcin

Nate

eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
215subject: utbuntu 18.04 TextEditor問題Promote 0 Bookmark 02018-12-27quote  

guest
但使用TextEditor有點問題,TextEditor的背景變成紅色的ubuntu桌面顏色,不是正常的白色,不曉得怎麼辦呢?

gcin 不會改變 TextEditor 的顏色。

guest
216subject: utbuntu 18.04 TextEditor問題Promote 0 Bookmark 02018-12-27quote  

eliu

 

gcin 不會改變 TextEditor 的顏色。

 

謝謝eliu大大回覆超快。

原來如此! 那可能是其他的環境不相容?

我遇到的畫面是這樣: 輸入的字會疊在一起,加上text editor背景顏色異常

https://imgur.com/a/i9HvGfD

eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
217subject: Promote 0 Bookmark 02018-12-27quote  

我覺得可能與主題顏色有關,試試選別的主題。

我是用 xfce,內定顏色 沒這個問題。

artspace
joined: 2019-01-07
posted: 2
promoted:
bookmarked:
218subject: 在Ubuntu 18.04裡裝好gcin後大易輸入法叫不出來....Promote 0 Bookmark 02019-01-07quote  

在Ubuntu 18.04裡裝好gcin後大易輸入法叫不出來.... 注音輸入及符號輸入卻是OK的(我只有選這三種輸入法)

gcin的版本是2.8.5+dfsg1-4build4

請問要如何解決呢?萬分感謝!

eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
219subject: 在Ubuntu 18.04裡裝好gcin後大易輸入法叫不出來....Promote 0 Bookmark 02019-01-07quote  

artspace
gcin的版本是2.8.5+dfsg1-4build4

不清楚這個版本。這個討論是用 第1篇的 gcin-2.8.6+eliu-4。

samwhelp
joined: 2016-10-21
posted: 18
promoted:
bookmarked:
220subject: Promote 0 Bookmark 02019-01-08quote  

artspace


在Ubuntu 18.04裡裝好gcin後大易輸入法叫不出來.... 注音輸入及符號輸入卻是OK的(我只有選這三種輸入法)

gcin的版本是2.8.5+dfsg1-4build4

請問要如何解決呢?萬分感謝!



eliu


不清楚這個版本。這個討論是用 第1篇的 gcin-2.8.6+eliu-4。



================================================================================

以下在「Ubuntu 18.04」測試,提供參考

================================================================================

我安裝「gcin」的步驟,之前有紀錄在「GitHub」上,在最近的另一篇「討論」有提到。

================================================================================


$ dpkg -l gcin



顯示


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-======
ii  gcin                            2.8.5+dfsg1-4build4  amd64                GTK+ based input method for Chinese users



================================================================================

執行


$ dpkg -l '*gcin*'



顯示


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-======
ii  gcin                            2.8.5+dfsg1-4build4  amd64                GTK+ based input method for Chinese users
ii  gcin-anthy:amd64                2.8.5+dfsg1-4build4  amd64                support library to use Anthy in gcin
ii  gcin-data                       2.8.5+dfsg1-4build4  all                  icons and scripts for gcin
ii  gcin-gtk2-immodule:amd64        2.8.5+dfsg1-4build4  amd64                GTK2 input method module with gcin as backend
ii  gcin-gtk3-immodule:amd64        2.8.5+dfsg1-4build4  amd64                GTK3 input method module with gcin as backend
ii  gcin-qt5-immodule:amd64         2.8.5+dfsg1-4build4  amd64                Qt5 input method module with gcin as backend
ii  gcin-tables                     2.8.5+dfsg1-4build4  amd64                input method tables for gcin
ii  gcin-voice                      0~20170223-1         all                  gcin voice data
ii  libgcin:amd64                   2.8.5+dfsg1-4build4  amd64                library for gcin



================================================================================

執行


$ dpkg -L gcin-data | grep dayi3



顯示


/usr/share/icons/gcin/dayi3.png
/usr/share/icons/gcin/gdayi3.png



================================================================================

執行


$ dpkg -L gcin-tables | grep dayi3



沒有顯示,直接顯示下一個提示字元。

================================================================================

執行


$ apt-file search dayi3



顯示


gcin-data: /usr/share/icons/gcin/dayi3.png
gcin-data: /usr/share/icons/gcin/gdayi3.png
hime-data: /usr/share/pixmaps/hime/black/dayi3.png
hime-data: /usr/share/pixmaps/hime/black/gdayi3.png
hime-data: /usr/share/pixmaps/hime/dark/dayi3.png
hime-data: /usr/share/pixmaps/hime/dark/gdayi3.png
hime-data: /usr/share/pixmaps/hime/dayi3.png
hime-data: /usr/share/pixmaps/hime/gdayi3.png
hime-data: /usr/share/pixmaps/hime/gray/dayi3.png
hime-data: /usr/share/pixmaps/hime/gray/gdayi3.png
hime-data: /usr/share/pixmaps/hime/pink/dayi3.png
hime-data: /usr/share/pixmaps/hime/pink/gdayi3.png



================================================================================

執行下面指令,下載「gcin」的「Source Package: gcin」。


$ apt-get source gcin



會下載下面3個檔案

* gcin_2.8.5+dfsg1-4build4.debian.tar.xz
* gcin_2.8.5+dfsg1-4build4.dsc
* gcin_2.8.5+dfsg1.orig.tar.xz

並且解開到「gcin-2.8.5+dfsg1」

================================================================================

接著執行下面指令


$ find gcin-2.8.5+dfsg1/ | grep dayi3



顯示


gcin-2.8.5+dfsg1/icons/30x30/gdayi3.png
gcin-2.8.5+dfsg1/icons/30x30/dayi3.png
gcin-2.8.5+dfsg1/icons/old/16x16/dayi3.png
gcin-2.8.5+dfsg1/icons/old/20x20s/gdayi3.png
gcin-2.8.5+dfsg1/icons/old/20x20s/dayi3.png
gcin-2.8.5+dfsg1/icons/old/24x24s/gdayi3.png
gcin-2.8.5+dfsg1/icons/old/24x24s/dayi3.png
gcin-2.8.5+dfsg1/icons/old/24x24/gdayi3.png
gcin-2.8.5+dfsg1/icons/old/24x24/dayi3.png
gcin-2.8.5+dfsg1/icons/old/32x32s/gdayi3.png
gcin-2.8.5+dfsg1/icons/old/32x32s/dayi3.png
gcin-2.8.5+dfsg1/.pc/0007-Remove-dayi3-to-compliant-with-DFSG.patch
gcin-2.8.5+dfsg1/.pc/0007-Remove-dayi3-to-compliant-with-DFSG.patch/data
gcin-2.8.5+dfsg1/.pc/0007-Remove-dayi3-to-compliant-with-DFSG.patch/data/Makefile
gcin-2.8.5+dfsg1/debian/patches/0007-Remove-dayi3-to-compliant-with-DFSG.patch




================================================================================

執行


$ cat gcin-2.8.5+dfsg1/debian/patches/0007-Remove-dayi3-to-compliant-with-DFSG.patch



顯示


From 464a04f36315ac1cd46b2f10529fb60cdf0d03bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?=
 <czchen@debian.org>
Date: Wed, 15 Jun 2016 19:06:31 +0800
Subject: Remove dayi3 to compliant with DFSG

---
 data/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/Makefile b/data/Makefile
index cb7a5b9..1cbcd8e 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -6,7 +6,7 @@ export NO_GTK_INIT=
 export GCIN_NO_RELOAD=

 DATA=pho.tab2 tsin32.idx NewCJ3.gtab \
-     cj.gtab ar30.gtab ar30-big.gtab dayi3.gtab pinyin.gtab jyutping.gtab cj5.gtab \
+     cj.gtab ar30.gtab ar30-big.gtab pinyin.gtab jyutping.gtab cj5.gtab \
      et.kbm et26.kbm zo.kbm pinyin.kbm dvorak.kbm mitac.kbm colemak.kbm \
      ibm.kbm tsin32 hsu.kbm pho-huge.tab2 simplex.gtab symbols.gtab russian.gtab \
      greek.gtab cj-punc.gtab latin-letters.gtab tsin-1.src pin-juyin.xlt \



================================================================================

以上提供參考,報告完畢

:-)

edited: 1
samwhelp
joined: 2016-10-21
posted: 18
promoted:
bookmarked:
221subject: 在Ubuntu 18.04裡裝好gcin後大易輸入法叫不出來....Promote 0 Bookmark 02019-01-08quote  


延續「#220

剛測試了一下

連到下面的網址

https://hyperrate.com/gcin-source/

================================================================================

執行下面指令,下載「gcin-2.8.8.tar.xz」



================================================================================

執行下面指令,解開


$ tar xf gcin-2.8.8.tar.xz



會解開到資料夾「gcin-2.8.8」

================================================================================

執行下面指令,切換到「gcin-2.8.8/data/」這個資料夾


$ cd gcin-2.8.8/data/



================================================================================

接著執行下面指令


$ gcin2tab dayi3.cin



會產生一個檔案「dayi3.gtab」

================================================================================

接著執行下面指令,複製「dayi3.gtab」到「 /usr/share/gcin/table/」這個資料夾


$ sudo cp dayi3.gtab /usr/share/gcin/table/



然後重新啟動「gcin」,應該就可以了

================================================================================

以上提供參考,報告完畢

:-)

edited: 1
eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
222subject: Promote 0 Bookmark 02019-01-08quote  

我是現在才知道Ubuntu裡面的gcin沒有大易。

artspace
joined: 2019-01-07
posted: 2
promoted:
bookmarked:
223subject: Promote 0 Bookmark 09 days agoquote  

eliu

我是現在才知道Ubuntu裡面的gcin沒有大易。

感謝兩位熱心回覆!! 我後來是直接用eliu版大的方式安裝,裝完之後就一切正常了! (現在就是在Ubuntu 18.04下用gcin大易輸入法打字的Laughing)

看來是Ubuntu Software裡的gcin無法使用大易,而且麻煩的是一旦裝了這個2.8.5+dfsg1-4版之後,如果沒有事先完整移除就無法安裝2.8.6+eliu-4(安裝一半會出現錯誤訊息)

gary8520
joined: 8 hr ago
posted: 1
promoted:
bookmarked:
台灣
224subject: 無法完全移除 18.04 ubuntu software 上 gcin 2.8.5 亦無法完整安裝2.8.6Promote 0 Bookmark 07 hr agoquote  

artspace

 

感謝兩位熱心回覆!! 我後來是直接用eliu版大的方式安裝,裝完之後就一切正常了! (現在就是在Ubuntu 18.04下用gcin大易輸入法打字的Laughing)

看來是Ubuntu Software裡的gcin無法使用大易,而且麻煩的是一旦裝了這個2.8.5+dfsg1-4版之後,如果沒有事先完整移除就無法安裝2.8.6+eliu-4(安裝一半會出現錯誤訊息)

目前剛安裝 Ubuntu 18.04

之前裝了 Ubuntu software 上的 gcin ,再重新登入好多次都無法輸入中文,後來用了劉大的方法,今天重開機後就可以輸入中文了!
但可能沒有完全移除舊版,用 apt-get install gcin 都一直出現

 gcin : Depends: gcin-im-client (>= 2.8.6+eliu-4) but it is not going to be installed
 gcin-gtk2-immodule : Depends: gcin-im-client (>= 2.8.6+eliu-4) but it is not going to be installed
 gcin-gtk3-immodule : Depends: gcin-im-client (>= 2.8.6+eliu-4) but it is not going to be installed
 gcin-qt4-immodule : Depends: gcin-im-client (>= 2.8.6+eliu-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

按提示 sudo apt --fix-broken install

$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gcin-qt4-immodule libcurl4 libmng2 libmysqlclient20 libqt4-dbus
  libqt4-declarative libqt4-network libqt4-script libqt4-sql libqt4-sql-mysql
  libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 mysql-common
  qdbus qt-at-spi qtchooser qtcore4-l10n vorbis-tools
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gcin-im-client
The following NEW packages will be installed:
  gcin-im-client
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
23 not fully installed or removed.
Need to get 0 B/73.2 kB of archives.
After this operation, 117 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 164467 files and directories currently installed.)
Preparing to unpack .../gcin-im-client_2.8.6+eliu-4_amd64.deb ...
Unpacking gcin-im-client:amd64 (2.8.6+eliu-4) ...
dpkg: error processing archive /var/cache/apt/archives/gcin-im-client_2.8.6+eliu-4_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5', which is also in package libgcin:amd64 2.8.5+dfsg1-4build4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/gcin-im-client_2.8.6+eliu-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

用 dpkg -l *gcin* 出現
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  gcin           2.8.5+dfsg1- amd64        GTK+ based input method for Chine
un  gcin-anthy     <none>       <none>       (no description available)
ii  gcin-data      2.8.5+dfsg1- all          icons and scripts for gcin
iU  gcin-gtk2-immo 2.8.6+eliu-4 amd64        GTK3 input method module with gci
iU  gcin-gtk3-immo 2.8.6+eliu-4 amd64        GTK3 input method module with gci
in  gcin-im-client <none>       amd64        (no description available)
iU  gcin-qt4-immod 2.8.6+eliu-4 amd64        Qt4 input method module with gcin
un  gcin-qt5-immod <none>       <none>       (no description available)
ii  gcin-tables    2.8.5+dfsg1- amd64        input method tables for gcin
un  gcin-voice     <none>       <none>       (no description available)
ii  libgcin:amd64  2.8.5+dfsg1- amd64        library for gcin

 

想問有沒有什麼好方法呢?

eliu

joined: 2007-08-09
posted: 11229
promoted: 609
bookmarked: 185
新竹, 台灣
225subject: Promote 0 Bookmark 02 hr agoquote  

dpkg -r 

prev,1,6,7,8

cht電腦資訊gcingcin分享
adm Find login register
views:328363