Skip to content

Instantly share code, notes, and snippets.

@adnan360
Created September 16, 2017 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnan360/41e417172fbf23280a67fe1a16a51ff0 to your computer and use it in GitHub Desktop.
Save adnan360/41e417172fbf23280a67fe1a16a51ff0 to your computer and use it in GitHub Desktop.
How to Write Bangla with Unijoy Layout using Fcitx in KDE Plasma 5

How to Write Bangla with Unijoy Layout using Fcitx in KDE Plasma 5

This has been tested on Arch Linux 2017 (Linux Kernel 4.12.12-1-ARCH) with KDE Plasma 5.10 installed, with libreoffice-fresh version 5.4.1.2.0 and other KDE apps.

Install the necessary pacakges:

sudo pacman -S fcitx fcitx-qt4 fcitx-qt5 m17n-db fcitx-m17n fcitx-configtool 

You can install this if you want to access fcitx configuration from KDE settings (optional):

sudo pacman -S kcm-fcitx # optional

Run this and go to Interface, then choose fcitx as input method:

qtconfig-qt4

Run nano ~/.xprofile and add at bottom:

# fcitx
export GTK_IM_MODULE=xim # for gtk apps
export QT_IM_MODULE=fcitx
export QT4_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

fcitx &

Run nano ~/.bashrc and add at bottom:

export XMODIFIERS=@im=fcitx

Now run this:

fcitx

This will bring up a new icon in the taskbar. You can close the terminal, fcitx will run in background.

  • Right click on the icon and choose Configure.
  • In the Input Method tab, uncheck Only Show Current Language.
  • Then type in the Search Input Method textbox by typing "unijoy" on it. You will see the unijoy method on the list.
  • With unijoy selected, click [>] button to add it to the list on the right
  • Go to Addon Config tab. Click on the button beside M17N.
  • Check Enable deprecated Input method.
  • Click OK. Click Apply and OK.

You will not be able to write in Bangla yet. Reboot the machine (logout and login should also work).

You can run fcitx-diagnose to find out if there's any problem with the setup.

Ref: https://wiki.archlinux.org/index.php/Fcitx

@aseemkishoree
Copy link

aseemkishoree commented Jul 31, 2023

i always use Bangla web tools for writing Bangla using web browser online. it's work's smoothly without any issue. You can use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment