openbsd-ports/inputmethods/ibus/pkg
2011-12-03 20:30:09 +00:00
..
DESCR
PLIST Add a dependency on x11/gtk+2,-guic. 2011-12-03 20:30:09 +00:00
README Add a consistent header that substitutes FULLPKGNAME for the READMEs. 2011-06-02 13:41:36 +00:00

$OpenBSD: README,v 1.3 2011/06/02 13:41:39 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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"
    ${TRUEPREFIX}/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:

    $ ${TRUEPREFIX}/bin/ibus-setup