HW & SW/OS

freebsd ibus 이용

부산라이더 2012. 6. 26. 13:23

~/.xprofile 파일에 아래 내용을 입력


export XIM=ibus


export GTK_IM_MODULE=xim


export QT_IM_MODULE=xim


export XMODIFIERS=@im=ibus


export XIM_PROGRAM="ibus-daemon"


export XIM_ARGS="--daemonize --xim"



방법 2

.xsession .xinitrc 파일에 아래 내용 입력

export XIM="ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="xim"
export XMODIFIERS="@im=ibus"

ibus-daemon -d -x &


출처 http://www.freebsdports.info/ports/korean/ibus-hangul.html

pkg-descr

IBus-Hangul is an input method (IM) for Korean language, based on IBus.

WWW: http://code.google.com/p/ibus/

pkg-message

ibus-hangul installation finished. To use ibus-hangul, please do the following:

If you are using bash or zsh, please add following lines to your $HOME/.bashrc or
$HOME/.zshrc:

export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="-r --daemonize --xim"

If you are using tcsh, please add following lines to your $HOME/.cshrc:

setenv XIM ibus
setenv GTK_IM_MODULE ibus
setenv QT_IM_MODULE xim
setenv XMODIFIERS @im=ibus
setenv XIM_PROGRAM ibus-daemon
setenv XIM_ARGS "-r --daemonize --xim"

If you are using KDE4, you may create a shell script in $HOME/.kde4/env,
and add following lines:

#!/bin/sh
export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="-r --daemonize --xim"

If ibus cannot start or the panel does not appear, please ensure
that you are using up-to-date python.
There's a bug in python 2.5, which may prevent the panel from appearing.

pkg-plist

libexec/ibus-engine-hangul
libexec/ibus-setup-hangul
share/ibus/component/hangul.xml
%%DATADIR%%/data/symbol.txt
%%DATADIR%%/icons/ibus-hangul.png
%%DATADIR%%/icons/ibus-hangul.svg
%%DATADIR%%/setup/config.py
%%DATADIR%%/setup/config.pyc
%%DATADIR%%/setup/config.pyo
%%DATADIR%%/setup/hangul_keyboard_list
%%DATADIR%%/setup/keycapturedialog.py
%%DATADIR%%/setup/keycapturedialog.pyc
%%DATADIR%%/setup/keycapturedialog.pyo
%%DATADIR%%/setup/main.py
%%DATADIR%%/setup/main.pyc
%%DATADIR%%/setup/main.pyo
%%DATADIR%%/setup/setup.ui
%%NLS%%share/locale/ko/LC_MESSAGES/ibus-hangul.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/ibus-hangul.mo
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%/setup
@dirrm %%DATADIR%%