Solved How to use ibus in cwm?

I use cwm in OpenBSD. There you have to install ibus and possibly a language specific input method (like pinyin input for Chinese). At first time, run the command ibus-setup and define the keyboard shortcut and the languages + input methods you want to use. After closing the setup tool it tells you three environment variables you have to set. Opening ibus-setup starts automatically the ibus daemon but this may be not persistent (at least not in OpenBSD) after reboot. So I put a line in line in .xinitrc:
Code:
...
ibus-daemon -d &
...

After a new login you may hit the keyboard shortcut (by default: Super + space) to see if is running.

For adding languages you may start ibus-setup again in the terminal or you may assign a cwm keyboard shortcut for this. And make sure that you have the appropriate fonts installed if you are using languages with non-latin characters.
 
I have a page https://srobb.net/jpninpt.html that goes through using fcitx on FreeBSD. It's Japanese specific but should work for other Asian languages. Tested with fluxbox, openbox, and dwm so I'm guessing it would work with CWM. In my experience, I find that ibus, at least with Linux, only works well with Gnome. I last used it with FreeBSD-10.x, and have come to always use fcitx instead.
 
I use cwm in OpenBSD. There you have to install ibus and possibly a language specific input method (like pinyin input for Chinese). At first time, run the command ibus-setup and define the keyboard shortcut and the languages + input methods you want to use. After closing the setup tool it tells you three environment variables you have to set. Opening ibus-setup starts automatically the ibus daemon but this may be not persistent (at least not in OpenBSD) after reboot. So I put a line in line in .xinitrc:
Code:
...
ibus-daemon -d &
...

After a new login you may hit the keyboard shortcut (by default: Super + space) to see if is running.

For adding languages you may start ibus-setup again in the terminal or you may assign a cwm keyboard shortcut for this. And make sure that you have the appropriate fonts installed if you are using languages with non-latin characters.

Nice, it woks in FreeBSD. But in OpenBSD, why I cannot find Chinese input method?
 
The place to ask would be daemonforums.org, which, though for all BSDs has become OpenBSD centric. Last I looked, OpenBSD had fcitx-anthy, (Japanese) around version 6.4. You might have to request the package on their mailing lists, I don't know what's available. I'm sorry, I don't know what mailing list you'd request it on, either, but there are a couple of REALLY knowledgeable people on daemon forums.
http://daemonforums.org/

Judging from https://openports.se/inputmethods/fcitx, the openbsd package may have Chinese input built in. The fcitx of the name stands for Free Chinese Input Toy for X
 
Back
Top