GithubHelp home page GithubHelp logo

fighterleslie / sublime-text-imfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyfeyaj/sublime-text-imfix

0.0 2.0 0.0 358 KB

Fix Sublime Text 2/3 Input method problem under Ubuntu

Shell 60.79% C 39.21%

sublime-text-imfix's Introduction

Sublime Text 2/3 Input Method (Fcitx) Fix [Ubuntu(Debian)]

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

Important Note

  • Sublime Text 3 input method fix only works when executing from terminal, such as subl .

Steps to use this repo

  • 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!

Completion Preview Image:

Fcitx

Todo

  • Add desktop launcher
  • Add compile detail to this README
gcc -shared -o libsublime-imfix.so sublime_imfix.c  `pkg-config --libs --cflags gtk+-2.0` -fPIC

Sublime Text 2/3 输入法修复[Ubuntu(Debian)]

主要目的:

  • 安装 Sublime Text 3
  • 安装 Fcitx 输入法 + 皮肤
  • 修复 Sublime Text 2/3's 在 Ubuntu(Debian) 系统下的无法输入中文输入法的问题

注意

  • 这个修复仅当在终端中使用 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了! 注意: 皮肤可能需要自己选择 ^_^

效果图:

Fcitx

sublime-text-imfix's People

Contributors

lyfeyaj avatar

Watchers

James Cloos avatar fighterleslie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.