Fix Sublime Text 3 Input method problem (CJK words) under Ubuntu
This fix may not work in Sublime Text GTK3 build 3181+, see issue #68. HELP WANTED!!
This repo is aimed at doing the following three things:
subl .
Steps to use this repo:
sudo apt-get update && sudo apt-get upgrade
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
sublime-text-imfix
:cd sublime-text-imfix
./sublime-imfix
gcc -shared -o libsublime-imfix.so sublime-imfix.c `pkg-config --libs --cflags gtk+-2.0` -fPIC
subl .
调用 Sublime Text 的时有效, 具体原因请看源代码src/subl
sudo apt-get update && sudo apt-get upgrade
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
cd sublime-text-imfix && ./sublime-imfix