Giter Club home page Giter Club logo

fcitx-remote-workaround-for-macos's Introduction

https://github.com/CodeFalling/wiki/issues/2

我把上面的方案用在系统双拼输入法上没成功,可能是因为上面的方案中使用了一些特殊的方法(系统没有提供切换到前一个输入法的接口),比如模拟快捷键。

而我只有两个输入法,其实不需要切换到前一个输入法,一开一关直接对应到中英两个输入法就好了。参考 http://manpages.ubuntu.com/manpages/xenial/man1/fcitx-remote.1.html

这些方法中 fcitx.el 也没有都用,于是我就配上 kawa 的代码用 Swift 写了一个。

执行下面命令编译并安装,

xcodebuild clean install -project fcitx-remote-workaround-for-macos.xcodeproj -target fcitx-remote -configuration Release DSTROOT="/"

编译后,fcitx-remote -n 记下中文输入法的 ID,然后替换代码中的 com.apple.inputmethod.SCIM.ITABC,再次编译并安装。

Credit

fcitx-remote-workaround-for-macos's People

Contributors

goxcif avatar

Watchers

James Cloos avatar  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.