Code Monkey home page Code Monkey logo

ibus-rime.appimage's People

Contributors

hchunhui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yanhuacuo meicale

ibus-rime.appimage's Issues

最新版无法在 Ubuntu 21.10 中使用

运行时报错:

/tmp/.mount_ibus-rwIle7S/usr/bin/rime_deployer: error while loading shared libraries: libglog.so.0: cannot open shared object file: No such file or directory

上个版本的 AppImage 包,在 Ubuntu 21.10 中则无此问题。

ibus 找不到

image

能不能将ibus 一起封装起来,

求求,

因为本人是i3桌面,而且禁止了lightdm, 没办法跟正常人一样使用输入法

API 请求

是否有类似 squirrel --exit 的接口,可以比较安全地退出算法服务?

我们在开发一款可视化的 rime 助手 : 中州韵98五笔助手

现在有一个需求是这样的,我们期望在 rime 助手可视化管理词库时, librime 的算法服务可以使用 QProcess(Qt类库) 控制退出或唤醒,因为 librime 在运行时,它实际上在占用着「上屏历史文件」,只有算服务服退出了,它才会真正解除对这个文件的占用。

我查到 ibus-rime.appimage help 有一些内置命令,但是没有类似退出算法服务的接口。

目前使用 bash shell 管道命令,但有时并不能迅捷地响应主线程,效果不够理想。


void MainWindow::turnONibus(){

    QProcess process;

    process.startDetached("/bin/bash", {"-c" , "ibus-daemon --panel disable --xim"});
    process.startDetached("/bin/bash", {"-c" , "/opt/WB98-IBUS-RIME/ibus-rime.AppImage ibus-engine-rime --ibus"});
    process.startDetached("/bin/bash", {"-c" , "/opt/WB98-IBUS-RIME/ibus-rime.AppImage rime_deployer --build ~/.config/ibus/rime"});

}
void MainWindow::turnOFFibus(){

    QProcess process;
    process.startDetached("/bin/bash", {"-c" , "kill `ps -A | grep ibus-engine-rim | awk '{print $1}'`"});
    process.startDetached("/bin/bash", {"-c" , "kill `ps -A | grep ibus-rime | awk '{print $1}'`"});
    process.startDetached("/bin/bash", {"-c" , "kill `ps -A | grep ibus-daemon | awk '{print $1}'`"});

}

opencc组件失效

opencc组件不工作,「繁简转换」

以前二进制模式从仓库里装ibus-rime时,schema 文件下,调用opencc组件实现繁简转换一直是正常的。

switches:
  - name: zh_trad
    reset: 0
    states: [ 简,繁 ]



engine:
  filters:
    - charset_filter@gb2312  
    - simplifier



simplifier:
  opencc_config: s2t.json
  option_name: zh_trad


key_binder:
  bindings: 
    - {accept: "Control+Shift+F", toggle: zh_trad, when: always}

现在这份无依赖包,繁简转换失效了。

请求查验

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.