openbsd-ports/inputmethods/ibus/pkg
ajacoutot 55b951dd52 Fix path to immodules.cache for gtk+3.
ok fgsch@ (maintainer)
2013-01-23 18:05:57 +00:00
..
DESCR Import ibus, the intelligent input bus framework. 2010-08-19 18:56:14 +00:00
PLIST Fix path to immodules.cache for gtk+3. 2013-01-23 18:05:57 +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