elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan | 1 | subject:
[問題]sublime text 2 與 gcin |
0
0 | 2013-07-05 | quote | | |
在 sublime text 2 下無法使用 gcin,我有先自行編譯,然後參考這篇:「用 XMODIFIERS 協助 測試/debug gcin」去看是否有除錯訊息
但並沒有訊息輸出,我懷疑是 sublime text 2 沒有走 im-module 這條路的關係。
我的環境:ubuntu 12.04 64bit, sublime-text-2 是參考 http://www.codeproject.com/Articles/582849/InstallingplusSublimeplusTextplus2plusonplusLinuxp ,以 ppa apt-get 方式安裝。
以下是 ldd /usr/lib/sublime-text-2/sublime_text 的結果,看起來沒有用 GTK/QT:
linux-vdso.so.1 => (0x00007fff40f79000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007ff3ffd89000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff3ffb81000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007ff3ff88b000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff3ff66e000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff3ff46a000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007ff3ff266000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007ff3fef31000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff3fec31000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff3fe934000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff3fe71e000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff3fe35f000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007ff3fe156000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007ff3fdf19000) /lib64/ld-linux-x86-64.so.2 (0x00007ff3ffff8000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007ff3fdcfb000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007ff3fdaf7000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007ff3fd8f1000)
不曉得是否有人試過?
edited: 1
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan |
|
eliu
joined:
2007-08-09 posted:
11473 promoted: 617 bookmarked: 187 新竹, 台灣 | 看有沒有其他的 .so,有可能是 ui 放在 .so
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan | 安裝以後,是執行 script ,到 sublime text 2 網站下載 tarball,然後解開放到 /usr/lib 下,sublime_text 是執行檔,特別的大,看起來是把所有檔案都包到裏面去了。
/usr/lib/sublime-text-2/ ├── Icon │ ├── 128x128 │ │ └── sublime_text.png │ ├── 16x16 │ │ └── sublime_text.png │ ├── 256x256 │ │ └── sublime_text.png │ ├── 32x32 │ │ └── sublime_text.png │ └── 48x48 │ └── sublime_text.png ├── lib │ └── python26.zip ├── PackageSetup.py ├── Pristine Packages │ ├── ActionScript.sublime-package │ ├── AppleScript.sublime-package │ ├── ASP.sublime-package │ ├── Batch File.sublime-package │ ├── Clojure.sublime-package │ ├── Color Scheme - Default.sublime-package │ ├── CSS.sublime-package │ ├── C#.sublime-package │ ├── C++.sublime-package │ ├── Default.sublime-package │ ├── Diff.sublime-package │ ├── D.sublime-package │ ├── Erlang.sublime-package │ ├── Go.sublime-package │ ├── Graphviz.sublime-package │ ├── Groovy.sublime-package │ ├── Haskell.sublime-package │ ├── HTML.sublime-package │ ├── JavaScript.sublime-package │ ├── Java.sublime-package │ ├── Language - English.sublime-package │ ├── LaTeX.sublime-package │ ├── Lisp.sublime-package │ ├── Lua.sublime-package │ ├── Makefile.sublime-package │ ├── Markdown.sublime-package │ ├── Matlab.sublime-package │ ├── Objective-C.sublime-package │ ├── OCaml.sublime-package │ ├── Perl.sublime-package │ ├── PHP.sublime-package │ ├── Python.sublime-package │ ├── Rails.sublime-package │ ├── Regular Expressions.sublime-package │ ├── RestructuredText.sublime-package │ ├── R.sublime-package │ ├── Ruby.sublime-package │ ├── Scala.sublime-package │ ├── ShellScript.sublime-package │ ├── SQL.sublime-package │ ├── TCL.sublime-package │ ├── Textile.sublime-package │ ├── Text.sublime-package │ ├── Theme - Default.sublime-package │ ├── User.sublime-package │ ├── Vintage.sublime-package │ ├── XML.sublime-package │ └── YAML.sublime-package ├── sublime_plugin.py └── sublime_text
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan |
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan |
edited: 1
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan |
|
elleryq
joined:
2007-09-27 posted:
117 promoted: 5 bookmarked: 0 Taipei, Taiwan | 看到這篇 http://sealmemory.blogspot.tw/2013/10/sublime-text.html
可以透過 InputHelper 這個 package 來輔助。
|