$OpenBSD: README,v 1.4 2018/09/04 12:46:14 espie Exp $

+-----------------------------------------------------------------------
| Running ibus on OpenBSD
+-----------------------------------------------------------------------

To make IBus work when X is started add the following lines to
~/.xinitrc or ~/.xsession:

    export GTK_IM_MODULE="ibus"
    export QT_IM_MODULE="ibus"
    export XMODIFIERS="@im=ibus"
    /usr/local/bin/ibus-daemon -d -x -r

To use IBus within xterm(1) the character locale needs to be UTF-8.
For example to set it to US English in UTF-8 mode, also add:

    export LC_CTYPE=en_US.UTF-8

Finally, to display characters correctly make sure to use a Unicode
(ISO-10646-1) font.

To activate IBus press Ctrl+Space.  For general configuration,
including hotkeys:

    $ /usr/local/bin/ibus-setup
