Giter VIP home page Giter VIP logo

ibus-rime's Introduction

ibus-rime

Rime Input Method Engine for Linux/IBus

project home: rime.im

code repository: https://github.com/rime/ibus-rime

license: GPLv3-or-later

installation

Refer to https://github.com/rime/home/wiki/RimeWithIBus

build dependencies:

  • pkg-config
  • cmake>=3.10
  • librime>=1.0 (development package)
  • libibus-1.0 (development package)
  • libnotify (development package)
  • plum (submodule)

runtime dependencies:

  • ibus
  • librime>=1.0
  • libibus-1.0
  • libnotify
  • rime-data (provided by plum)

ibus-rime's People

Contributors

hchunhui avatar icenowy avatar jtojnar avatar lotem avatar osfans avatar weakish avatar

Stargazers

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

Watchers

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

ibus-rime's Issues

/tmp/rime.ibus.ERROR删除后怎么恢复

不小心删除了/tmp目录下的rime.ibus.ERROR文件,删除后重新创建此文件发现与rime.ibus.WARNNING以及rime.ibus.INFO文件不同,果然,重新部署后自己创建的rime.ibus.ERROR文件消失。现在每次重新部署ibus-rime显示Rime has encountered an error ,Please see /tmp/rime.ibus.ERROR...可是我没有。。。

How to use your own shuangping scheme?

I have my own profile and put it under the .config/ibus/rime path, but I don't know. Adding to the scenario selection list, trying to modify default.yaml and create a new default.custom.yaml has no effect.
I want to get your help.
Thank you

Ibus rime abnormal behaviour after updating to 1.3.0

When I type <Shift> to enter English mode (ascii inline), I can't go back to luna pinyin again.
I'm using archlinux. This problem seems to only appear when I update to ibus-rime 1.3.0-1.

Besides, I also found that rime seems to restart every time I type some characters and then type<Enter>. There are so many rime.ibus.****.log.INFO.*** in my /tmp

image

Can not switch the order of 借 and 藉

By rights, if I input a character more than any others with the same pinyin, it should be in the first place in a list of candidates. However,strangely enough, no matter how many times I input the character 借, it is always in the second place, after 藉, which I seldom use. Is this a bug? Are there any workarounds?

(Two years ago there was a similar feedback on Baidu Tieba: http://dq.tieba.com/p/4190358375)

Thanks,

照理来说,我打一个字的次数比其他同拼音的字的次数更多,他就会被排在候选字列表的第一位。然而,奇怪的是,不论我输入多少次“借”,他始终只能排在第二位,在我不常用的“藉”字的后面。这个是一个bug吗?有没有什么方法固定“借”字到首位?

(两年前在百度贴吧有一个类似的案例:http://dq.tieba.com/p/4190358375)

谢谢!

ibus-rime cannot switch to simple Chinese

Hi,

I installed ibus-rime 1.2-1 on deepin15.3 and set

export QT_IM_MODULE="ibus"
export GTK_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus"

in .xprofile.

However, I cannot switch between simple Chinese and traditional Chinese.

Thanks.

[Patched]Ibus-rime icon

This isn't really an issue, but I didn't know where to put that.

I found out that the icon of the project is a small PNG file. Even if this is not likely to be needed, I thought a SVG image would be better.

I did it myself according to the PNG file with inkscape. I have tried to be as close as possible to the icon image.
You're free to use it with the license you want.

Here is the file: http://depositfiles.com/files/m5azde117

ibus-rime can't deploy

Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E1012 13:18:42.675222 11035 config.cc:699] Error parsing YAML: yaml-cpp: error at line 25, column 6: illegal map value
E1012 13:18:42.675407 11035 customizer.cc:117] Error loading customization file.
E1012 13:19:21.041139 11296 config.cc:699] Error parsing YAML: yaml-cpp: error at line 25, column 6: illegal map value
E1012 13:19:21.041178 11296 customizer.cc:117] Error loading customization file.
E1012 13:19:21.298444 11296 deployment_tasks.cc:241] source file 'stroke.dict.yaml' does not exist.
E1012 13:19:21.298501 11296 dict_compiler.cc:87] neither stroke.dict.yaml nor stroke.table.bin exists.
E1012 13:19:21.298529 11296 deployment_tasks.cc:300] dictionary 'stroke' failed to compile.

倉頡5的字典只有前半段是有效的?

作業系統是 LinuxMint 18.3,我去 /usr/share/rime-data/cangjie5.dict.yaml 找了字典來看,能夠生效的碼表只到 yyyyo (第24064行)
我需要再設定什麼才能使用之後的碼表嗎?或是我該嘗試著自行編譯?
順便問下,自訂碼表可以輸入 Tab 這樣的特殊字元嗎?

Input source disappear in Ubuntu 14.04

Used quite well for the first time and a second time, but several days later, the input source logo is still there in the status bar, but the "Chinese (rime)" cannot be found, even I logged in as root. I have tried:

sudo apt-get purge ibus-rime librime-data-wubi -y

and then

sudo apt-get install ibus-rime librime-data-wubi -y

but the nothing has changed...

I installed ibus-rime as root, and used as a power user, but now I can't find how to active the input source...

Any idea? Thanks!

Solus segmentation fault

Hi!

I'm trying to use ibus-rime on Solus OS, and when I switch to Rime with ibus-daemon, this shows:

(ibus-ui-gtk3:3112): IBUS-WARNING **: ibus_bus_call_sync: org.freedesktop.IBus.SetGlobalEngine: GDBus.Error:org.freedesktop.DBus.Error.Failed: Set global engine failed: The connection is closed

(ibus-ui-gtk3:3112): IBUS-WARNING **: panel.vala:817: Switch engine to rime failed.

Upon debugging /usr/lib/ibus-rime/ibus-engine-rime in gdb, this is revealed:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff374071a in std::ostream::sentry::sentry(std::ostream&) ()
   from /usr/lib64/libstdc++.so.6

Any ideas? Thanks.

Gnome shell: different icons in the topbar for Chinese and English?

Can you make ibus-rime show the corresponding icon for Chinese or English in the topbar? I'm running gnome 3.16. ibus-libpinyin has this feature. It shows 中 when I'm typing in Chinese, but when I SHIFT to input English, it shows 英 instead.

To give you an idea of what I'm talking about, here are some screenshots:
screenshot from 2015-09-16 02-02-09
screenshot from 2015-09-16 02-04-21

config_data.cc:41 failed to save config to stream.

rime.ibus..*.log.ERROR.20180723-174540.2230:
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0723 17:45:40.169962 2233 config_data.cc:41] failed to save config to stream.

rime.ibus...log.WARNING.20180723-174540.2230:
W0723 17:54:52.346007 2849 config_data.cc:62] nonexistent config file '/home//.config/ibus/rime/build/ibus_rime.yaml'.
E0723 17:54:52.745831 2852 config_data.cc:41] failed to save config to stream.
W0723 17:54:52.746665 2852 config_data.cc:62] nonexistent config file '/home/***/.config/ibus/rime/build/ibus_rime.yaml'.

rime_deployer symbol lookup error

I use Ubuntu 16.04.2 and install ibus-rime from official repo and it works smoothly for long. But recently, it is suddenly broken. I can switch to rime on the tray icon but nothing more happens and the input box does not appear any more.

I tried reinstall ibus-rime but it does not solve the problem.

I can't see any error message from it until I run rime_deployer and find it says

$ rime_deployer
rime_deployer: symbol lookup error: /usr/lib/librime.so.1: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E

Any idea how I can fix this?

ibus-rime在ubuntu18.04环境下按Shift键切换中英文状态时,输入法图标无变化

ibus-rime在ubuntu18.04环境下按Shift键切换中英文状态时,输入法图标无变化。
按照一般原则,中文输入法按下Shift键可以快速切换中英文状态,这个时候系统指示区的输入法图标会变化图标,以提示用户中英文状态发生了变化。比如ibus-libpinyin即是如此。

软件环境:ubuntu 18.04 64位版,原生桌面环境

Rime appears to ignore the system keyboard layout.

Dear Rime Maintainers:

On my system, Rime (version 1.2) appears to ignore the system keyboard layout, and instead acts as if the system keyboard layout is hard-wired to QWERTY.

I installed the "ibus-rime" package on Ubuntu 16.04 LTS:

$ apt-cache policy ibus-rime
ibus-rime:
    Installed: 1.2-1build1
    Candidate: 1.2-1build1
    ...

My system keyboard layout is set to US Dvorak:

# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="dvorak"
XKBOPTIONS="compose:ralt"
BACKSPACE="guess"

Other input methods on my system (such as ibus-libpinyin) correctly observe the system keyboard layout, but if I select Rime, it appears to assume my keyboard is set to QWERTY.

Is there a workaround for this issue?

I'm willing to help with debugging the problem. I've filed a bug for Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/ibus-rime/+bug/1574440

Thanks for your help!
Jonathan

候选词位置和底色不对

archlinux+i3wm,分辨率4k,dpi 175。

xfce4-terminal里候选词在正确位置,Chrome里就飞到窗口外了。。
image

image

我编制了一个“单手笔顺输入法”的码表,希望RIME输入法能加入这个功能,为Linux版和windows版电脑用户提供一个新的选择

RIME输入法的开发者:
你们好!
我编制了一个“单手笔顺输入法”的码表,希望RIME输入法能加入这个功能,为Linux版和windows版电脑用户提供一个新的选择

开源项目网址: https://github.com/YQ-YSY/stroke-seq_MB
发布在Ubuntu论坛的帖子介绍:
http://forum.ubuntu.org.cn/viewtopic.php?f=35&t=484603

Upgrade dependent libraries

ibus-rime has no non-README commits since two years ago. Does it still work with the latest version of librime, ibus or other dependent libraries? If it does, please update ibus-rime to reflect that.

on-the-spot input style is not supported

Currently, ibus-rime only supports over-the-spot input style.

If we set the preference of ibus to insert the current input text in the editing frame, ibus-rime doesn't do it, whereas ibus-pinyin does.

default.yaml is always moved to ~/.config/ibus/rime/trash

After recent update, or after I installed some external fonts (simhei and simsun) in my Manjaro Linux (based on Arch),
my ibus-rime doesn't support my default.custom.yaml any more (it is simply ignored, and doesn't work).

Besides, my default.yaml is auto-removed to ~/.config/ibus/rime/trash/ each time after my deploy.

Thus, it doesn't list my double_pinyin_flypy schema, but only lists luna_pinyin and some other default input schema.

Here's the log:

$ cat /tmp/rime.ibus.WARNING

Log file created at: 2018/05/27 23:19:21
Running on machine: chandelier-pc
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0527 23:19:21.606014 15032 config_data.cc:41] failed to save config to stream.
E0527 23:27:23.406353 16488 config_data.cc:41] failed to save config to stream.

What Can I do to invoke double_pinyin_flypy, to make my default.yaml work?

ibus-rime stopped working after upgrading yaml-cpp to 0.5.3.

The character selecting box pops up no more.
This is the commit of yaml-cpp which broke it.

Here's the log.


Log file created at: 2016/01/14 11:48:12
Running on machine: localhost
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W0114 11:48:12.096580 11681 customizer.cc:129] 'patch' not found in customization file.
W0114 11:48:12.103109 11684 customizer.cc:129] 'patch' not found in customization file.
W0114 11:48:12.154049 11684 deployment_tasks.cc:135] schema list not defined.


Command line deployment without removing default.yaml

According to Rime 定製指南, one can re-deploy ibus-rime either by commands rm ~/.config/ibus/rime/default.yaml; ibus-daemon -drx, or by clicking the deploy botton on the status bar. By the first method, default.yaml is removed and restored to the initial settings in /usr/share/rime-data/default.yaml. However, many users may not want to lose their (modified) default.yaml, including those who have already registered some new schemas.

ibus-daemon -drx alone will not trigger redeployment on my platform. Modifying /usr/share/rime-data/default.yaml can bypass the issue, but is not a good idea either, as it would require root priviledges.

Since the method of clicking the button preserves default.yaml, I would assume that the same can be achieved in a CLI way. And I want to know how to achieve it.


System: Arch Linux
ibus version: 1.5.16-1
ibus-rime version: 1.2-1

候选区方向设置没有生效

ibus 1.5.4的dconf中general没有lookup-table-orientation这个key,也没有engine/Rime这项。反而在panel下有lookup-table-orientation,把general改成panel,方向设置生效。

ibus 下 rime 候选词乱码

找了很多文章,大部分给出的解决方案是使用 HanaMinA 字体,我尝试切换 IBUS 字体到这个以后仍然乱码;遇到比较坑的是乱码问题会造成 IDEA bug, 情况是只要出现了乱码 IDEA 中就会出现两个框框;这两个框框可以删除,但是只要接下来输入任意中文,框框就会重复出现,而且会导致后面代码被莫名其妙的删掉;所以没办法了只能来这里求助

image
image

Update ibus-rime on ubuntu repo

The current ibus-rime package on ubuntu official repo is outdated. Would be great if it can be upgraded to the latest version.

Thanks

wubi table not found

My system is Archlinux, I install the package ibus-rime with pacman, and I copied the following files:

cp /usr/share/rime-data/wubi86.dict.yaml ~/.config/ibus/rime/
cp /usr/share/rime-data/wubi86.schema.yaml ~/.config/ibus/rime/

Also, I added - schema: wubi86 to schema_list in default.yaml, however, when I choose wubi input, I cannot type any Chinese character, and I find the following errors in /tmp/rime.ibus.ERROR:

E1224 11:30:41.592962   396 mapped_file.cc:112] attempt to open non-existent file '/home/xxx/.config/ibus/rime/wubi86.table.bin'.
E1224 11:30:41.593025   396 table.cc:326] Error opening table file '/home/xxx/.config/ibus/rime/wubi86.table.bin'.
E1224 11:30:41.593032   396 dictionary.cc:266] Error loading table for dictionary 'wubi86'.
E1224 11:30:41.594399   396 mapped_file.cc:112] attempt to open non-existent file '/home/xxx/.config/ibus/rime/wubi86.reverse.bin'.
E1224 11:30:41.594408   396 reverse_lookup_dictionary.cc:43] Error opening reversedb '/home/xxx/.config/ibus/rime/wubi86.reverse.bin'

It complains that the table cannot be found, I searched /usr/share/rime-data/ and other related places, and cannot find such files.

Any ideas?

Thanks,
Kelvin

Ibus-rime installed from repo outputs huge info files and takes forever to deploy

I have used the same schema files for Weasel and Trime(Android). Both of them take several minutes to deploy. However, when I installed ibus-rime in Linux (the same laptop as I installed Weasel), it takes much much longer time to deploy. I started deploying around 1p.m. and now its almost 4p.m. and it's still being deployed. I suspect that is because of the heavy I/O task to the INFO file. My info file found at temp folder has already reached 961MB at this time of report.

My system set up is
Fedora 25

with the following package installed
ibus-rime-1.2-3.fc24.x86_64

Thank you in advance for any helpful suggestions

new release

Is this still actively maintained? It hasn't seen a new release since July 19, 2014. Please advise whether you are planning to release new versions. Thank you.

Solus is currently implementing and testing Ibus and it would be great to have an alternative to ibus-libpinyin: https://solus-project.com/

Ibus-rime was rejected due to not having seen any commits in over a year. You can track progress on the Solus dev tracker here: https://dev.solus-project.com/T1001

Migration request from IBusConfig to GSettings

I'm the maintainer of IBus.
ibus-rime uses IBusConfig and I'd ask to migrate it to GSettings and delete IBusConfig.

E.g. rime_settings.c

ibus_rime_load_settings (void)
{
    const gchar *rime_schema_id = "org.freedesktop.ibus.engine.rime";
    const gchar *panel_schema_id = "org.freedesktop.ibus.panel";
    GSettings *rime_settings = g_settings_new (rime_schema_id);
    GSettings *panel_settings = g_settings_new (panel_schema_id);
    GVariant *value;

    value = g_settings_get_value (rime_settings, "embed-preedit-text");
    if (!value) {
        value = g_settings_get_value (panel_settings, "embed-preedit-text");
    }

    g_signal_connect (rime_settings, "changed", ibus_rime_settings_value_changed_cb);
}

https://groups.google.com/forum/#!topic/ibus-devel/Mu1IoFX-bKE

Icons display incorrectly

OS: Archlinux 64-bit
DE: Gnome 3.22.2 on Wayland

I just installed arch and installed ibus-rime, however, got a white square instead of the icon on tray. Everything seems to be fine expect the icon.

have failed to upload a pic because of the slow network.

have checked /usr/share/ibus-rime/icons and everything seemed to be fine.

Cannot get ibus_rime.yaml to work

I've read the changelog of v1.3.0 and c8492d7 plus some code in librime, however I'm still unable to set my style/horizontal to true.

My ibus-setup UI (Don't know why IBUS_ORIENTATION_SYSTEM isn't working):

2018-04-25 13-32-40

My dconf showing the orientation setting:

2018-04-25 13-33-03

My config files for multiple attempts:

~/.config/ibus/rime/ibus_rime.yaml:

style:
  horizontal: true

~/.config/ibus/rime/configibus_rime.yaml:

style:
  horizontal: true

~/.config/ibus/rime/ibus_rime.custom.yaml (didn't think this would work because there's no counterpart in rime_data, but still tried):

patch:
  "style/horizontal": true

And I've deployed several times after these changes, but none of them worked. I wonder if I'm missing something?

How to save different input state for different window?

For example, there are some windows own by chrome process(or process tree), and other windows own by firefox process. When I stay in one of chrome window I may want a luna-pinyin schema, then if I switch to one of firefox window I want it to be the default or previous settled schema, like cangjie etc. Or just be a same schema but different ascii_mode.

I found how to apply different ascii_mode for some specific processes, but not found how to apply different input state for different window. That is, any change of schema selecting or ascii_mode switching is a global change.

Could any body explain how to achieve it, or if it is not implemented yet, I would appreciate it if you add it as a feature, thx.

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.