###This repo is aimed at doing below three things:
- Install Sublime Text 3
- Install Fcitx Input Method
- Fix Sublime Text 2/3's input method problem under Ubuntu(Debian) System
###Update
-
(new)Fix "Package Preference" cannot open.Thanks for @liberize
-
(new)Now,Sublime opened by Icon.desktop can also use Fcitx Input(Dash Icon also work)
- Sublime Text 3 input method fix only works when executing from terminal, such as
subl .
- Update and then upgrade your system to the newest
sudo apt-get update && sudo apt-get upgrade
- Clone this repo in your local directory :
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
- Change your current directory to
sublime-text-imfix
:
cd sublime-text-imfix
- Run the below script :
./sublime-imfix
- Done! Re-login your X windows. And then you can enjoy using Sublime Text 3 with Fctix Input Method!
gcc -shared -o libsublime-imfix.so sublime_imfix.c `pkg-config --libs --cflags gtk+-2.0` -fPIC
###主要目的:
- 安装 Sublime Text 3
- 安装 Fcitx 输入法 + 皮肤
- 修复 Sublime Text 2/3's 在 Ubuntu(Debian) 系统下的无法输入中文输入法的问题
###更新
- (new)通过Ubuntu系统图标打开的Sublime也支持Fcitx输入中文了
- (new)Fix "Package Preference" 无法打开,感谢@liberize
- 这个修复仅当在终端中使用
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
- 完成! 重新启动后就可以在Sublime Text 2/3 中 使用Fcitx了! 注意: 皮肤可能需要自己选择 ^_^