+-----------------------------------------------------------------------
| 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

Input methods
=============

The input method for GTK3 is included in the main package.
Additional modules are available in these packages:
    ibus-gtk2 (for GTK2)
    ibus-gtk4 (for GTK4)
