• Stars
    star
    936
  • Rank 48,823 (Top 1.0 %)
  • Language
    C
  • Created about 11 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fix Sublime Text 3 Input method problem (CJK words) under Ubuntu

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

This fix may not work in Sublime Text GTK3 build 3181+, see issue #68. HELP WANTED!!

Main Purposes

This repo is aimed at doing the following three things:

  • Install Sublime Text 3
  • Install Fcitx Input Method
  • Fix Sublime Text 3's input method problem(Mainly for CJK characters) under Ubuntu(Debian) System

Updates

  • (new) Fix "Package Preference" cannot open issue. Thanks for @liberize
  • (new) Now, Sublime opened by Icon.desktop can also use Fcitx Input(Dash Icon also work)
  • (new) Fix cursor position not update bug
  • (new) Support 32-bit system. Thanks for @inouetoukyou

Important Note

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

Usage

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:

Fcitx

gcc -shared -o libsublime-imfix.so sublime-imfix.c  `pkg-config --libs --cflags gtk+-2.0` -fPIC

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

主要目的

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

更新

  • (new) 修复了 "Package Preference" 无法打开的问题, 感谢 @liberize
  • (new) 通过 Ubuntu 系统图标打开的 Sublime 也支持 Fcitx 输入中文了
  • (new) 修复了输入法不跟随的 Bug
  • (new) 支持 32位 系统. 感谢 @inouetoukyou

注意

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

效果图:

Fcitx

More Repositories

1

awesome-resources

Awesome resources for coding and learning: open source projects, websites, books e.g.
HTML
1,665
star
2

swipe

Swipe is the most accurate touch slider. Support both React and Angular.
JavaScript
961
star
3

ewa

Enhanced Wechat App Development Toolkit (微信小程序增强开发工具)。不同于 wepy 或者 mpvue,是一个轻量级小程序开发框架。支持原生小程序所有功能,无需学习,极易上手。支持转换为百度/字节跳动/QQ/支付宝小程序。
JavaScript
183
star
4

smart_sms

The easiest way to integrate SMS service in China
Ruby
91
star
5

qn-webpack

Qiniu webpack plugin (七牛 Webpack 插件)
JavaScript
40
star
6

pretty_doc

Pretty document empowered by markdown language
CSS
9
star
7

ovt

Javascript Object Validation Tool
JavaScript
8
star
8

atom-transpose

Transpose your text. Behave transpose action like Sublime Text 2/3.
CoffeeScript
7
star
9

magico

Magic object accessor for javascript!
JavaScript
6
star
10

dotfiles

My dotfiles
Shell
5
star
11

stoc

String to object compiler for Javascript
JavaScript
4
star
12

rsqoot

A Ruby Wrapper For Sqoot API V2
Ruby
4
star
13

iconcutter

Painless way to resize your icon for all platforms: wechat, weibo, ios, android, and so on
Ruby
4
star
14

railscasts-subscriber

RailsCasts Subscriber with a little hack
Ruby
3
star
15

servant

A Life Servant
JavaScript
2
star
16

system-detective

A detective for your server to find out evils
Ruby
2
star
17

xpick

Extremely powerful pick functionality
JavaScript
2
star
18

ovt-plugin-xss

Ovt plugin for js-xss
JavaScript
2
star
19

lyfeyaj

My Zone ~ 关于技术 & 产品 & 设计的一些思考
2
star
20

jaql

Automatically exported from code.google.com/p/jaql
Java
1
star
21

reminder

Reminder
Ruby
1
star
22

ovt-plugin-lodash

Ovt plugin for lodash
JavaScript
1
star
23

mass-mailer

Mass Mailer
1
star
24

ovt-plugin-baiji

Ovt plugin for baiji
JavaScript
1
star
25

basepack

Front end engineering base toolchain on top of webpack
1
star
26

OpenNash

OpenLDAP Portal System(公司内网LDAP管理,用于企业内部LDAP应用管理,统一入口+员工权限分配)
1
star
27

blog

lyfeyaj's blog
JavaScript
1
star
28

ovt-plugin-validator

Ovt plugin for validator.js
JavaScript
1
star
29

dot-atom

My Atom config and plugins
JavaScript
1
star