ibus-unikey không còn được hỗ trợ chính thức và repo này chỉ là bản fork của ibus-unikey
git clone https://github.com/mwarevn/ibus-unikey.git
cd ibus-unikey
-
Install required packages:
sudo apt-get install -y cmake g++ make pkg-config libibus-1.0-dev libgtk-3-dev gettext -
Build & install
mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release -DLIBEXECDIR=/usr/lib/ibus .. sudo make sudo make install -
Apply the keyboard input method
You must have the "Language Support" application installed.
- Open the Language Support application.
- In the list of available languages, locate
Vietnamese. - If Vietnamese is not installed, select it and click Install.
- Change your keyboard input method system to IBus. (The exact steps for this may vary depending on your operating system)
- Open a terminal window.
- Run the command
ibus-setup. - Navigate to the Input Method tab.
- If
Vietnamese - Unikeyis not listed, click Add and select it. - Close the ibus-setup window.
- In the same terminal window, run the command
ibus restart.
- Run
im-configin the terminal. - When prompted for
user configuration, selectibus.
- Restart your computer.
- Open your system Settings.
- Navigate to the input method settings. (This location may vary depending on your operating system)
- Change the input method to
Vietnamese.
You should now be able to type in Vietnamese!
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:
-
Add
export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus
into $HOME/.profile.
-
Make
ibus-daemonstart 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