guest | 1 | subject:
此問題該如何解決? |
0
0 | 2017-11-02 | quote | | |
在Puppy Linux下.
Palemoon 瀏覽器 27.5.1 --> ctrl+space可以切換English、gcin(2.7.4)輸入法。 Firefox 瀏覽器 52.4.1 --> ctrl+space無法切換English、gcin(2.7.4)輸入法。
好像 Firefox 48還是45之後就變這樣了。Chrome 新舊版也有相同的問題。
Palemoon是用Firefox 的open原始程式,Palemoon最新版則無此問題, 不知是什麼原因?
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | 看是不是 32,64 bit 的關係,需要 install 對應的 *gcin*.so
|
guest | 全部都是 32-bit。
Linux 系統 32-bit gcin(2.7.4) 32-bit Palemoon Version: 27.5.1 (32-bit) Firefox 52.4.1 (32-bit)
系統同時安裝了 Palemoon、Firefox, 切到Palemoon,ctrl+space可切換、可輸入。 切到Firefox,ctrl+space無作用。
因為舊版 Firefox (45or48),沒問題(記得舊版chrome也沒問題), 才懷疑新版Firefox,Chrome 是不是有改了什麼?
請問 Windows gcin 使用者,在最新版Firefox下,是一樣都正常嗎?
|
guest | 之前有個經驗:
更舊的 Firefox 版本可以一路線上更新上來,但更新到45or48版之後就再也更新不上去了。 而那時已經有5x的版本了。
也許4x與5x之間有無法相容的架構?
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | 用 lsof -p 可以看到 process 開啟的 .so,或許可以提供線索。
|
guest | 我分別用 Palemoon Firefox 連 Pchome,
Palemoon 的 lsof -p :
7660 /usr/bin/gcin /dev/null 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin socket:[8876] 7660 /usr/bin/gcin anon_inode:[eventfd] 7660 /usr/bin/gcin socket:[9519] 7660 /usr/bin/gcin socket:[85120] 7660 /usr/bin/gcin /root/.gcin/tsin32.idx 7660 /usr/bin/gcin /root/.gcin/tsin32 7660 /usr/bin/gcin socket:[87329] 7660 /usr/bin/gcin socket:[87330] 7660 /usr/bin/gcin socket:[87331] 7660 /usr/bin/gcin socket:[87333] 7660 /usr/bin/gcin socket:[73062] 7660 /usr/bin/gcin socket:[78575] 7660 /usr/bin/gcin socket:[79820] 7660 /usr/bin/gcin socket:[87336] 7660 /usr/bin/gcin /root/.gcin/phrase.table 7660 /usr/bin/gcin /usr/share/gcin/table/phrase-ctrl.table 7660 /usr/bin/gcin socket:[87943]
24271 /opt/palemoon/palemoon /dev/tty1 24271 /opt/palemoon/palemoon /initrd/mnt/tmpfs/tmp/xerrs.log 24271 /opt/palemoon/palemoon /initrd/mnt/tmpfs/tmp/xerrs.log 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/cert8.db 24271 /opt/palemoon/palemoon socket:[86950] 24271 /opt/palemoon/palemoon anon_inode:[eventfd] 24271 /opt/palemoon/palemoon anon_inode:[eventfd] 24271 /opt/palemoon/palemoon pipe:[86954] 24271 /opt/palemoon/palemoon pipe:[86954] 24271 /opt/palemoon/palemoon socket:[86962] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/.parentlock 24271 /opt/palemoon/palemoon anon_inode:[eventpoll] 24271 /opt/palemoon/palemoon socket:[87291] 24271 /opt/palemoon/palemoon socket:[87292] 24271 /opt/palemoon/palemoon pipe:[87293] 24271 /opt/palemoon/palemoon pipe:[87293] 24271 /opt/palemoon/palemoon pipe:[86965] 24271 /opt/palemoon/palemoon pipe:[86965] 24271 /opt/palemoon/palemoon pipe:[87294] 24271 /opt/palemoon/palemoon pipe:[87294] 24271 /opt/palemoon/palemoon pipe:[86966] 24271 /opt/palemoon/palemoon pipe:[86966] 24271 /opt/palemoon/palemoon /dev/urandom 24271 /opt/palemoon/palemoon socket:[86979] 24271 /opt/palemoon/palemoon pipe:[86980] 24271 /opt/palemoon/palemoon pipe:[86980] 24271 /opt/palemoon/palemoon socket:[87328] 24271 /opt/palemoon/palemoon socket:[86983] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/permissions.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-wal 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-shm 24271 /opt/palemoon/palemoon socket:[86985] 24271 /opt/palemoon/palemoon socket:[87332] 24271 /opt/palemoon/palemoon socket:[87335] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/key3.db 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/cookies.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/cookies.sqlite-wal 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/cookies.sqlite-shm 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/cookies.sqlite 24271 /opt/palemoon/palemoon anon_inode:inotify 24271 /opt/palemoon/palemoon anon_inode:[eventfd] 24271 /opt/palemoon/palemoon anon_inode:[eventfd] 24271 /opt/palemoon/palemoon socket:[88143] 24271 /opt/palemoon/palemoon socket:[87362] 24271 /opt/palemoon/palemoon anon_inode:[eventfd] 24271 /opt/palemoon/palemoon socket:[88501] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/content-prefs.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-wal 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/webappsstore.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/webappsstore.sqlite-wal 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/webappsstore.sqlite-shm 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/webappsstore.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/webappsstore.sqlite-wal 24271 /opt/palemoon/palemoon socket:[87350] 24271 /opt/palemoon/palemoon socket:[87457] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-wal 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite 24271 /opt/palemoon/palemoon socket:[87825] 24271 /opt/palemoon/palemoon socket:[88185] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-wal 24271 /opt/palemoon/palemoon socket:[88251] 24271 /opt/palemoon/palemoon socket:[88234] 24271 /opt/palemoon/palemoon socket:[87826] 24271 /opt/palemoon/palemoon socket:[88450] 24271 /opt/palemoon/palemoon socket:[88451] 24271 /opt/palemoon/palemoon socket:[88240] 24271 /opt/palemoon/palemoon socket:[88245] 24271 /opt/palemoon/palemoon socket:[88279] 24271 /opt/palemoon/palemoon socket:[88277] 24271 /opt/palemoon/palemoon socket:[87496] 24271 /opt/palemoon/palemoon socket:[88246] 24271 /opt/palemoon/palemoon socket:[88248] 24271 /opt/palemoon/palemoon socket:[88252] 24271 /opt/palemoon/palemoon socket:[88280] 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite 24271 /opt/palemoon/palemoon /root/.moonchild productions/pale moon/gb4wnzke.default/places.sqlite-wal 24271 /opt/palemoon/palemoon socket:[88285] 24271 /opt/palemoon/palemoon socket:[87516] 24271 /opt/palemoon/palemoon socket:[88452] 24271 /opt/palemoon/palemoon socket:[88289] 24271 /opt/palemoon/palemoon socket:[87827] 24271 /opt/palemoon/palemoon socket:[88294] 24271 /opt/palemoon/palemoon socket:[88293] 24271 /opt/palemoon/palemoon socket:[88303] 24271 /opt/palemoon/palemoon socket:[88453] 24271 /opt/palemoon/palemoon socket:[88454] 24271 /opt/palemoon/palemoon socket:[88474] 24271 /opt/palemoon/palemoon socket:[88465] 24271 /opt/palemoon/palemoon socket:[88467] 24271 /opt/palemoon/palemoon socket:[88468] 24271 /opt/palemoon/palemoon socket:[88469] 24271 /opt/palemoon/palemoon socket:[88470]
Firefox 的 lsof -p :
7660 /usr/bin/gcin /dev/null 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin socket:[8876] 7660 /usr/bin/gcin anon_inode:[eventfd] 7660 /usr/bin/gcin socket:[9519] 7660 /usr/bin/gcin /root/.gcin/tsin32.idx 7660 /usr/bin/gcin /root/.gcin/tsin32 7660 /usr/bin/gcin socket:[73062] 7660 /usr/bin/gcin socket:[78575] 7660 /usr/bin/gcin socket:[79820]
21530 /usr/lib/firefox/firefox /dev/tty1 21530 /usr/lib/firefox/firefox /initrd/mnt/tmpfs/tmp/xerrs.log 21530 /usr/lib/firefox/firefox /initrd/mnt/tmpfs/tmp/xerrs.log 21530 /usr/lib/firefox/firefox socket:[81739] 21530 /usr/lib/firefox/firefox socket:[82364] 21530 /usr/lib/firefox/firefox /dev/dri/card0 21530 /usr/lib/firefox/firefox anon_inode:[eventfd] 21530 /usr/lib/firefox/firefox socket:[82508] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/.parentlock 21530 /usr/lib/firefox/firefox anon_inode:[eventpoll] 21530 /usr/lib/firefox/firefox socket:[82370] 21530 /usr/lib/firefox/firefox socket:[82371] 21530 /usr/lib/firefox/firefox pipe:[82372] 21530 /usr/lib/firefox/firefox pipe:[82372] 21530 /usr/lib/firefox/firefox /usr/lib/firefox/omni.ja 21530 /usr/lib/firefox/firefox /usr/lib/firefox/browser/omni.ja 21530 /usr/lib/firefox/firefox pipe:[82375] 21530 /usr/lib/firefox/firefox pipe:[82375] 21530 /usr/lib/firefox/firefox pipe:[82376] 21530 /usr/lib/firefox/firefox pipe:[82376] 21530 /usr/lib/firefox/firefox socket:[81691] 21530 /usr/lib/firefox/firefox pipe:[81693] 21530 /usr/lib/firefox/firefox pipe:[81693] 21530 /usr/lib/firefox/firefox /dev/urandom 21530 /usr/lib/firefox/firefox /root/.cache/mozilla/firefox/d1fytnop.default/startupCache/startupCache.4.little 21530 /usr/lib/firefox/firefox socket:[82385] 21530 /usr/lib/firefox/firefox pipe:[82386] 21530 /usr/lib/firefox/firefox pipe:[82386] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/cert8.db 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/key3.db 21530 /usr/lib/firefox/firefox /usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi 21530 /usr/lib/firefox/firefox /usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi 21530 /usr/lib/firefox/firefox /usr/lib/firefox/browser/features/firefox@getpocket.com.xpi 21530 /usr/lib/firefox/firefox /usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi 21530 /usr/lib/firefox/firefox socket:[81731] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/permissions.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite-wal 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite-shm 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/content-prefs.sqlite 21530 /usr/lib/firefox/firefox socket:[81765] 21530 /usr/lib/firefox/firefox socket:[81766] 21530 /usr/lib/firefox/firefox pipe:[81767] 21530 /usr/lib/firefox/firefox pipe:[81767] 21530 /usr/lib/firefox/firefox socket:[82494] 21530 /usr/lib/firefox/firefox anon_inode:[eventfd] 21530 /usr/lib/firefox/firefox anon_inode:[eventfd] 21530 /usr/lib/firefox/firefox socket:[81768] 21530 /usr/lib/firefox/firefox socket:[81823] 21530 /usr/lib/firefox/firefox socket:[81819] 21530 /usr/lib/firefox/firefox socket:[82574] 21530 /usr/lib/firefox/firefox socket:[81821] 21530 /usr/lib/firefox/firefox anon_inode:[eventfd] 21530 /usr/lib/firefox/firefox socket:[81832] 21530 /usr/lib/firefox/firefox socket:[82586] 21530 /usr/lib/firefox/firefox anon_inode:inotify 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/webappsstore.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/webappsstore.sqlite-wal 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/webappsstore.sqlite-shm 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/webappsstore.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/webappsstore.sqlite-wal 21530 /usr/lib/firefox/firefox socket:[82983] 21530 /usr/lib/firefox/firefox socket:[82897] 21530 /usr/lib/firefox/firefox socket:[82898] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite-wal 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite-wal 21530 /usr/lib/firefox/firefox socket:[81859] 21530 /usr/lib/firefox/firefox socket:[82899] 21530 /usr/lib/firefox/firefox socket:[82900] 21530 /usr/lib/firefox/firefox socket:[82901] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/cookies.sqlite 21530 /usr/lib/firefox/firefox socket:[81874] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/cookies.sqlite-wal 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/cookies.sqlite-shm 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/cookies.sqlite 21530 /usr/lib/firefox/firefox socket:[82682] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite 21530 /usr/lib/firefox/firefox socket:[81873] 21530 /usr/lib/firefox/firefox /root/.mozilla/firefox/d1fytnop.default/places.sqlite-wal 21530 /usr/lib/firefox/firefox socket:[82792] 21530 /usr/lib/firefox/firefox socket:[82731] 21530 /usr/lib/firefox/firefox socket:[82738] 21530 /usr/lib/firefox/firefox socket:[82908] 21530 /usr/lib/firefox/firefox socket:[84002] 21530 /usr/lib/firefox/firefox socket:[82993] 21530 /usr/lib/firefox/firefox socket:[82924] 21530 /usr/lib/firefox/firefox socket:[82925] 21530 /usr/lib/firefox/firefox socket:[82926] 21530 /usr/lib/firefox/firefox socket:[82927] 21530 /usr/lib/firefox/firefox socket:[82934] 21530 /usr/lib/firefox/firefox socket:[82935] 21530 /usr/lib/firefox/firefox socket:[82936] 21530 /usr/lib/firefox/firefox socket:[82938] 21530 /usr/lib/firefox/firefox socket:[82939] 21530 /usr/lib/firefox/firefox socket:[83993] 21530 /usr/lib/firefox/firefox socket:[83994] 21530 /usr/lib/firefox/firefox socket:[83995] 21530 /usr/lib/firefox/firefox socket:[83996] 21530 /usr/lib/firefox/firefox socket:[83997] 21530 /usr/lib/firefox/firefox socket:[83998] 21677 /usr/lib/firefox/plugin-container /dev/tty1 21677 /usr/lib/firefox/plugin-container /initrd/mnt/tmpfs/tmp/xerrs.log 21677 /usr/lib/firefox/plugin-container /initrd/mnt/tmpfs/tmp/xerrs.log 21677 /usr/lib/firefox/plugin-container socket:[82495] 21677 /usr/lib/firefox/plugin-container socket:[81765] 21677 /usr/lib/firefox/plugin-container /usr/lib/firefox/omni.ja 21677 /usr/lib/firefox/plugin-container /usr/lib/firefox/browser/omni.ja 21677 /usr/lib/firefox/plugin-container anon_inode:[eventpoll] 21677 /usr/lib/firefox/plugin-container socket:[82505] 21677 /usr/lib/firefox/plugin-container socket:[82506] 21677 /usr/lib/firefox/plugin-container pipe:[82507] 21677 /usr/lib/firefox/plugin-container pipe:[82507] 21677 /usr/lib/firefox/plugin-container socket:[82508] 21677 /usr/lib/firefox/plugin-container anon_inode:[eventfd] 21677 /usr/lib/firefox/plugin-container socket:[81769] 21677 /usr/lib/firefox/plugin-container socket:[81820] 21677 /usr/lib/firefox/plugin-container socket:[81822] 21677 /usr/lib/firefox/plugin-container socket:[81824] 21677 /usr/lib/firefox/plugin-container pipe:[82581] 21677 /usr/lib/firefox/plugin-container pipe:[82581] 21677 /usr/lib/firefox/plugin-container pipe:[82584] 21677 /usr/lib/firefox/plugin-container pipe:[82584] 21677 /usr/lib/firefox/plugin-container /dev/urandom 21677 /usr/lib/firefox/plugin-container socket:[81839] 21677 /usr/lib/firefox/plugin-container pipe:[81841] 21677 /usr/lib/firefox/plugin-container pipe:[81841] 21677 /usr/lib/firefox/plugin-container socket:[82587] 21677 /usr/lib/firefox/plugin-container socket:[81842] 21677 /usr/lib/firefox/plugin-container /usr/lib/firefox/browser/features/firefox@getpocket.com.xpi
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | 照理說應該會列出 .so,像這樣,這是有開啟 gcin 成功的。
lsof -p 15444 | grep gcin gedit 15444 xxx mem REG 8,1 18736 4719093 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 gedit 15444 xxx mem REG 8,1 14600 5128215 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so
|
guest | 還有一個經驗:
Linux有很多種 text editor,
有的 editor 使用 gcin 很順, 但有時切換到其他 editor,Ctrl+Space 就變成沒有作用, 此時,靠滑鼠點點選 gcin icon 來切換輸入法則還有作用,也可輸入。
再切回原來可用的 editor,立刻又可以使用 Ctrl+Space 。
|
guest | palemoon 再連 pchome,
Ctrl+Space 切換輸入法,輸入幾個繁體字, 進 termianl 打 lsof -p ,沒看到 .so ?
# lsof -p | grep gcin 7660 /usr/bin/gcin /dev/null 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin socket:[8876] 7660 /usr/bin/gcin anon_inode:[eventfd] 7660 /usr/bin/gcin socket:[9519] 7660 /usr/bin/gcin socket:[85120] 7660 /usr/bin/gcin /root/.gcin/tsin32.idx 7660 /usr/bin/gcin /root/.gcin/tsin32 7660 /usr/bin/gcin socket:[87329] 7660 /usr/bin/gcin socket:[87330] 7660 /usr/bin/gcin socket:[87331] 7660 /usr/bin/gcin socket:[87333] 7660 /usr/bin/gcin socket:[130374] 7660 /usr/bin/gcin socket:[130376] 7660 /usr/bin/gcin socket:[79820] 7660 /usr/bin/gcin socket:[87336] 7660 /usr/bin/gcin /root/.gcin/phrase.table 7660 /usr/bin/gcin /usr/share/gcin/table/phrase-ctrl.table 7660 /usr/bin/gcin socket:[87943] 7660 /usr/bin/gcin socket:[90163] 7660 /usr/bin/gcin socket:[98437] 7660 /usr/bin/gcin socket:[92055] 7660 /usr/bin/gcin socket:[92057] 7660 /usr/bin/gcin socket:[98008] 7660 /usr/bin/gcin socket:[115091] 7660 /usr/bin/gcin socket:[132257]
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | lsof -p pid
pid 是 process id,真正作用的 process,不是 shell script.
|
guest | (我不熟Linux,有錯請指正,感謝)
我打 top 有看到 gcin 的 PID(7660), 再打 lsof -p 7660 | grep gcin, 顯示:
# lsof -p 7660 | grep gcin 7660 /usr/bin/gcin /dev/null 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin /initrd/mnt/tmpfs/tmp/xerrs.log 7660 /usr/bin/gcin socket:[8876] 7660 /usr/bin/gcin anon_inode:[eventfd] 7660 /usr/bin/gcin socket:[9519] 7660 /usr/bin/gcin socket:[85120] 7660 /usr/bin/gcin /root/.gcin/tsin32.idx 7660 /usr/bin/gcin /root/.gcin/tsin32 7660 /usr/bin/gcin socket:[87329] 7660 /usr/bin/gcin socket:[87330] 7660 /usr/bin/gcin socket:[87331] 7660 /usr/bin/gcin socket:[87333] 7660 /usr/bin/gcin socket:[130374] 7660 /usr/bin/gcin socket:[130376] 7660 /usr/bin/gcin socket:[168209] 7660 /usr/bin/gcin socket:[87336] 7660 /usr/bin/gcin /root/.gcin/phrase.table 7660 /usr/bin/gcin /usr/share/gcin/table/phrase-ctrl.table 7660 /usr/bin/gcin socket:[87943] 7660 /usr/bin/gcin socket:[169170] 7660 /usr/bin/gcin socket:[169171] 7660 /usr/bin/gcin socket:[92055] 7660 /usr/bin/gcin socket:[92057] 7660 /usr/bin/gcin socket:[98008] 7660 /usr/bin/gcin socket:[115091] 7660 /usr/bin/gcin socket:[132257] 7660 /usr/bin/gcin socket:[181734] 7660 /usr/bin/gcin socket:[157799] 7660 /usr/bin/gcin socket:[157801] 7660 /usr/bin/gcin socket:[183506] #
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | 是要 firefox and palemoon 的 pid
|
guest | 我在 puppy linux 上重新安裝 firefox 36, firefox 36可以進行自動線上更新,但最高只能更新到 45.0.2。
gcin 2.7.4 在 36、45.0.2 兩個版本上都沒問題。
firefox 官方網站有列出 46以後版本的最低需求:
GNU/Linux Software Requirements
Please note that GNU/Linux distributors may provide packages for your distribution which have different requirements.
Firefox will not run at all without the following libraries or packages: GTK+ 3.4 or higher GLib 2.22 or higher Pango 1.14 or higher X.Org 1.0 or higher (1.7 or higher is recommended) libstdc++ 4.3 or higher For optimal functionality, we recommend the following libraries or packages: NetworkManager 0.7 or higher DBus 1.0 or higher HAL 0.5.8 or higher GNOME 2.16 or higher
也許是 gcin 2.7.4 與新版 Firefox 已經不相容。(?)
puppy linux 可以線上安裝 gcin,目前有 2.8.5 版本。
之前曾線上安裝 2.8.x,但失敗。所以才繼續用 2.7.4。
會再試 2.8.5 ,,,
|
guest | 實驗 1.puppy linux artfulpup 17.11(32bit)可線上安裝 gcin 2.8.5 2.puppy linux xenialpup 7.0.8.6 (32bit)可線上安裝 gcin 2.8.4 安裝設定後,都有出現 En 圖示,可以顯示注音、拼音...等等選項,但點選之後都 不會切換,選「符號表」也不會出現符號鍵盤。 gcin-tool 可叫出、可設定,但都無效果。 以前 gcin 2.7.4 有加: export GTK_IM_MODULE=gcin export QT_IM_MODULE=gcin export XMODIFIERS="@im=gcin" gcin & gtk-query-immodules-2.0 --update-cache 就可正常運作。 請教先進,gcin 2.8.x 要加哪些命令呢?或是有什麼地方還要設定才行? 謝謝。
|
samwhelp joined:
2016-10-21 posted:
26 promoted: bookmarked:
| 我在另一篇「#183」,有建立一個索引, 是在「Xubuntu 16.04.3 amd64 英文界面」測試,裡面有紀錄一些簡易的偵錯步驟, 不見得能解決您遇到的問題,不過也許您能參考看看,或許您能有一些新的靈感,和建立一些概念。
報告完畢
:-)
edited: 1
|
samwhelp joined:
2016-10-21 posted:
26 promoted: bookmarked:
| 16 | subject:
lsof 用法 |
0
0 | 2017-11-04 | quote | | |
另外稍微補充解釋一下「lsof」的用法,雖然我目前也只會簡單的用法 :p
以下我一樣是在「Xubuntu 16.04.3 amd64 英文界面」測試
================================================================================
操作步驟可以參考另一篇「回覆 #6」。
先執行「firefox」,然後嘗試在「firefox」做中英文切換,
不要關閉「firefox」,然後在「Terminal」,先執行下面指令,找出「firefox」的「process id」。
$ ps aux | grep firefox
會顯示
user 30493 59.6 28.1 2154824 285032 ? Sl 15:20 0:26 /usr/lib/firefox/firefox user 30589 0.0 0.0 21992 948 pts/4 S+ 15:20 0:00 grep --color=auto firefox
然後執行下面指令,觀看「30493」這個「process」開啟那些檔案
$ lsof -p 30493
會列出很多筆紀錄,就不貼上來了。
然後執行下面指令,觀看「30493」這個「process」開啟那些檔案,是關於「gcin」的
$ lsof -p 30493 | grep gcin
會顯示
firefox 30493 user mem REG 8,1 22920 1716257 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 firefox 30493 user mem REG 8,1 14696 1835033 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so
================================================================================
然後也可以換外一種思路,改用另一種指令下法,雖然我通常使用上面的方式比較多。
執行下面指令,
$ lsof
會列出很多筆紀錄,就不貼上來了。
執行下面指令,過濾出跟「gcin」相關的
$ lsof | grep gcin
會列出很多筆紀錄,就不貼上來了。
執行下面指令,除了過濾出跟「gcin」相關的,再進一步過濾出跟「firefox」相關的
$ lsof | grep gcin | grep 'firefox'
顯示
firefox 30493 user mem REG 8,1 22920 1716257 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 firefox 30493 user mem REG 8,1 14696 1835033 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so firefox 30493 30544 user mem REG 8,1 22920 1716257 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 firefox 30493 30544 user mem REG 8,1 14696 1835033 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so
執行下面指令,除了過濾出跟「gcin」相關的,再進一步過濾出該行開頭是「firefox」的
$ lsof | grep gcin | grep '^firefox'
顯示
firefox 30493 user mem REG 8,1 22920 1716257 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 firefox 30493 user mem REG 8,1 14696 1835033 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so firefox 30493 30544 user mem REG 8,1 22920 1716257 /usr/lib/x86_64-linux-gnu/gcin/libgcin-im-client.so.1.2.5 firefox 30493 30544 user mem REG 8,1 14696 1835033 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-gcin.so
================================================================================
而「grep」要忽略大小寫,記得加「-i」這個參數。
================================================================================
執行下面指令,可以了解「30493」這個「process (firefox)」的環境變數。
$ strings /proc/30493/environ
一樣很多筆,就不貼上來了
執行下面指令,可以過濾出跟「IM」的環境變數。
$ strings /proc/30493/environ | grep IM
顯示
LC_TIME=lzh_TW QT4_IM_MODULE=gcin IM_CONFIG_PHASE=1 GTK_IM_MODULE=gcin XDG_RUNTIME_DIR=/run/user/1000 DESKTOP_STARTUP_ID=wrapper-1.0/firefox/1457-1-user-vb_TIME10869826 QT_IM_MODULE=gcin CLUTTER_IM_MODULE=xim
若是「gcin」是透過「im-config」機制啟動的, 這些環境變數的設定,是在「/usr/share/im-config/data/26_gcin.rc」這個檔案。 這個檔案基本上是不需要修改的。
================================================================================
其餘的就請參考「#183」列的那些參考文章了,來當作探索的起點。
================================================================================
以上補充
報告完畢
:-)
edited: 1
|
eliu
joined:
2007-08-09 posted:
11480 promoted: 617 bookmarked: 187 新竹, 台灣 | 感謝 samwhelp 熱心講解。
|