You are not logged in.

#1 2014-06-02 12:37:07

gay
Member
Registered: 2012-12-16
Posts: 93

[SOLVED] ibus: writing pinyin and keeping ibus away from the terminal

Is there a way to write both pinyin and simplified Chinese characters in one application (say, libreoffice) while still being able to use latin / English input in others?

Trying with ibus-rime (following https://wiki.archlinux.org/index.php/IBus ) I get:

  • ibus input globally for the entire desktop environment (which can be quite annoying sometimes, say in a terminal.)

  • pinyin as an input method for Hanzi only; no way to write text in pinyin.

If I understand the Arch Wiki correctly, this is essentially the same for SCIM and fcitx. But I'm sure I am missing something somehow.

My questions are:

  • How do I keep ibus away from the terminal?

  • How do I write pinyin with ibus?

  • Or is there another application which makes this easier?

edit: marked solved

Last edited by gay (2014-06-05 10:49:03)


We are exactly the people our parents always warned us about.

Offline

#2 2014-06-04 14:03:19

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: [SOLVED] ibus: writing pinyin and keeping ibus away from the terminal

I dont get what your question is.
You  add your desired input methods in ibus-setup (english, russian, mozc, kkc, pinyin etc.) and then you are able to switch between them with Super+Space (or WinKey+Space).
There you can also toggle sharing of the selected method between applications, like if you were typing chinese in libreoffice and then when you open a terminal it will use default input method (english etc.)

Same things apply to fcitx. Switching is a bit trickier: you switch between alternative methods and english with Super+Space, and then with Ctrl+Shift between mozc, pinyin, kkc etc. It also has option of sharing selected method between apps.

Can't say anything about SCIM, never used it.

Offline

#3 2014-06-05 10:35:01

gay
Member
Registered: 2012-12-16
Posts: 93

Re: [SOLVED] ibus: writing pinyin and keeping ibus away from the terminal

Thanks,  Goresome, you are right with the first issue, ibus allows to switch input methods with Super+Space. What I did not get was that the usual keyboard layout has to be included in the input methods defined with ibus-setup. So this resolves the first issue.

The second issue is that I would like pinyin as output. ibus allows it as input method but apparently not as output. Pinyin is the official latin alphabet transcription system for Chinese characters (Hanzi), it requires characters with 4 different accents (macron, acute, caron, grave) as shown there https://en.wikipedia.org/wiki/Pinyin#Tones while applying acute and grave accents using a standard English keyboard layout is not a problem, I did not find a simple way for the other two (macron and caron). Maybe ibus is the wrong application for this but I could not think of any other alternative and it seemed to make sense.


We are exactly the people our parents always warned us about.

Offline

#4 2014-06-05 10:48:27

gay
Member
Registered: 2012-12-16
Posts: 93

Re: [SOLVED] ibus: writing pinyin and keeping ibus away from the terminal

Package ibus-m17n https://www.archlinux.org/packages/comm … ibus-m17n/ allows to write pinyin (as output), thus solves the second issue. Thanks for your hints.


We are exactly the people our parents always warned us about.

Offline

Board footer

Powered by FluxBB