openbsd-ports/inputmethods/scim/pkg
2022-03-11 19:24:07 +00:00
..
DESCR
PLIST drop RCS Ids 2022-03-11 19:24:07 +00:00
README drop RCS Ids 2022-03-11 19:24:07 +00:00

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

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

    export GTK_IM_MODULE="xim"
    export QT_IM_MODULE="xim"
    export XMODIFIERS="@im=SCIM"
    ${TRUEPREFIX}/bin/scim -d

To use SCIM 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 SCIM press Ctrl+Space.  For general configuration,
including hotkeys:

    $ ${TRUEPREFIX}/bin/scim-setup