{"id":13440780,"url":"https://github.com/lyfeyaj/sublime-text-imfix","last_synced_at":"2025-04-12T19:50:20.913Z","repository":{"id":50280698,"uuid":"12430950","full_name":"lyfeyaj/sublime-text-imfix","owner":"lyfeyaj","description":"Fix Sublime Text 3 Input method problem (CJK words) under Ubuntu","archived":false,"fork":false,"pushed_at":"2021-01-28T09:12:59.000Z","size":127,"stargazers_count":938,"open_issues_count":18,"forks_count":194,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-04-12T19:50:00.465Z","etag":null,"topics":["cjk","fcitx","fixes","input-method","sublime-text","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lyfeyaj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-28T10:32:29.000Z","updated_at":"2025-01-15T07:35:39.000Z","dependencies_parsed_at":"2022-08-29T18:21:27.060Z","dependency_job_id":null,"html_url":"https://github.com/lyfeyaj/sublime-text-imfix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyfeyaj%2Fsublime-text-imfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyfeyaj%2Fsublime-text-imfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyfeyaj%2Fsublime-text-imfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyfeyaj%2Fsublime-text-imfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyfeyaj","download_url":"https://codeload.github.com/lyfeyaj/sublime-text-imfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625501,"owners_count":21135513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cjk","fcitx","fixes","input-method","sublime-text","ubuntu"],"created_at":"2024-07-31T03:01:26.134Z","updated_at":"2025-04-12T19:50:20.881Z","avatar_url":"https://github.com/lyfeyaj.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Sublime Text 3 Input Method(Fcitx) Fix [Ubuntu(Debian)]\n==========================================================\n\n\u003e This fix may not work in Sublime Text GTK3 build 3181+, [see issue #68](https://github.com/lyfeyaj/sublime-text-imfix/issues/68). **HELP WANTED!!**\n\n## Main Purposes\n\nThis repo is aimed at doing the following three things:\n\n+ Install Sublime Text 3\n+ Install Fcitx Input Method\n+ Fix Sublime Text 3's input method problem(Mainly for CJK characters) under Ubuntu(Debian) System\n\n## Updates\n\n+ (new) Fix \"Package Preference\" cannot open issue. Thanks for [@liberize](https://github.com/liberize)\n+ (new) Now, Sublime opened by Icon.desktop can also use Fcitx Input（Dash Icon also work）\n+ (new) Fix cursor position not update bug\n+ (new) Support 32-bit system. Thanks for [@inouetoukyou](https://github.com/inouetoukyou)\n\n## **Important Note**\n\n+ **Sublime Text 3 input method fix only works when executing from terminal, such as `subl .`**\n\n## Usage\n\nSteps to use this repo:\n\n+ Update and then upgrade your system to the newest\n\n```bash\nsudo apt-get update \u0026\u0026 sudo apt-get upgrade\n```\n\n+ Clone this repo in your local directory :\n\n```bash\ngit clone https://github.com/lyfeyaj/sublime-text-imfix.git\n```\n\n+ Change your current directory to `sublime-text-imfix`:\n\n```bash\ncd sublime-text-imfix\n```\n\n+ Run the below script :\n\n```bash\n./sublime-imfix\n```\n\n+ Done! Re-login your X windows. And then you can enjoy using Sublime Text 3 with Fctix Input Method!\n\n## Completion Preview:\n\n![Fcitx](image/fcitx.png)\n\n\n\n```bash\ngcc -shared -o libsublime-imfix.so sublime-imfix.c  `pkg-config --libs --cflags gtk+-2.0` -fPIC\n```\n\n--------------\n\n## Sublime Text 3 输入法(Fcitx)修复[Ubuntu(Debian)]\n\n## 主要目的\n\n+ 安装 Sublime Text 3\n+ 安装 Fcitx 输入法 + 皮肤\n+ 修复 Sublime Text 3's 在 Ubuntu(Debian) 系统下的无法输入中文(CJK 字符)输入法的问题\n\n## 更新\n\n+ (new) 修复了 \"Package Preference\" 无法打开的问题, 感谢 [@liberize](https://github.com/liberize)\n+ (new) 通过 Ubuntu 系统图标打开的 Sublime 也支持 Fcitx 输入中文了\n+ (new) 修复了输入法不跟随的 Bug\n+ (new) 支持 32位 系统. 感谢 [@inouetoukyou](https://github.com/inouetoukyou)\n\n## **注意**\n\n+ **这个修复仅当在终端中使用 `subl .` 调用 Sublime Text 的时有效, 具体原因请看源代码[src/subl](https://github.com/lyfeyaj/sublime-text-imfix/blob/master/src/subl)**\n\n## 使用方法\n\n+ 更新并升级系统为最新(较新的系统会解决很多可能出现的问题)\n\n```bash\nsudo apt-get update \u0026\u0026 sudo apt-get upgrade\n```\n\n+ 克隆项目到本地 :\n\n```bash\ngit clone https://github.com/lyfeyaj/sublime-text-imfix.git\n```\n\n+ 运行脚本 :\n\n```bash\ncd sublime-text-imfix \u0026\u0026 ./sublime-imfix\n```\n\n+ 完成! 重新启动后就可以在 Sublime Text 3 中 使用 Fcitx了! 注意: 皮肤可能需要自己选择 ^_^\n\n## 效果图:\n\n![Fcitx](image/fcitx.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyfeyaj%2Fsublime-text-imfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyfeyaj%2Fsublime-text-imfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyfeyaj%2Fsublime-text-imfix/lists"}