Skip to content
MWare edited this page Oct 9, 2023 · 4 revisions

Ubuntu

  1. Install required packages:

    sudo apt-get install -y cmake g++ make pkg-config libibus-1.0-dev libgtk-3-dev
    
  2. Build & install

    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release -DLIBEXECDIR=/usr/lib/ibus ..
    make
    sudo make install
    
  3. install input method

  • Go to application 'Language Support' > Choose Install/Remove Languages... > choose your language > click 'Apply'

FreeBSD

This instruction is for FreeBSD 12-RELEASE.

Build and install:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=release -DLIBEXECDIR=/usr/local/lib ..
make
sudo make install

If you use GNOME, ibus-unikey should work once IBus is configured correctly.

If you use KDE, some additional configuration is needed:

  1. Add

    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
    

into $HOME/.profile.

  1. Make ibus-daemon start automatically with the right configuration:

    $ echo "ibus-daemon -d -x -r -n kde" > $HOME/.kde/Autostart/ibus-daemon-autostart.sh && chmod +x $HOME/.kde/Autostart/ibus-daemon-autostart.sh
    
Clone this wiki locally