kde-ibus-bangla-instructions-plasma5.md 1.6 KB

How to setup/write in Bangla/Bengali in KDE using unijoy layout.

This instruction was tested on Manjaro 17 KDE, which had Plasma 5.9.3, Qt 5.8.0, KDE Frameworks 5.31.0. Libreoffice Version: 5.2.5.1.

Open a terminal and run:

sudo pacman -S ibus ibus-qt ibus-m17n m17n-db

Run:

qtconfig-qt4

In Interface > Default Input Method, select ibus instead of xim.

Run:

ibus-daemon --xim -drx --desktop=kde
  • Right click icon from tray - Preference, and setup as usual.
  • Setup Keyboard Shortcut to your liking.
  • Go to Input Method tab, click Add, click 3-dotted button,
  • choose "Bangla", then "unijoy (m17n)"

Add in ~/.bashrc:

export XMODIFIERS=@im=ibus

Add in ~/.xprofile or ~/.bash_profile:

# ibus
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
# libreoffice
export OOO_FORCE_DESKTOP="gnome"
# 
ibus-daemon --xim -drx --desktop=kde

Note: the OOO_FORCE_DESKTOP line will cause to change the toolbar icons of Libreoffice. This line may not be needed since we are installing ibus-qt. You can try with commenting this line to be sure.

Also, be sure to install a Bangla font so that your system can render Bangla characters:

pakku -S ttf-freebanglafont

After all this, restart your pc (or logout and login again) and open any app, try the ibus Keyboard Shortcut and type Bangla! (Mine is Super/Win key+Space by default)

I did not try Kimpanel integration. But here might be a good place to look.

Ref: