Skip to content

Latest commit

 

History

History
executable file
·
99 lines (67 loc) · 3.63 KB

README.md

File metadata and controls

executable file
·
99 lines (67 loc) · 3.63 KB

Avro phonetic for Linux in IBus

Avro phonetic implementation for Linux in IBus.

Installation

Packaging status

Ubuntu/Debian/Linux Mint

On Ubuntu, and on Debian's testing and unstable releases, Avro phonetic is distributed through the ibus-avro package. To install it, simply do:

sudo apt install ibus-avro

Arch/Manjaro/EndeavourOS

Install ibus-avro-git from the AUR. Please see AUR prerequisites if you already have not.

Other Linux distros (install from source)

On other Linux distros you can install the dependencies and build/install using the source code in this repository.

  1. Open terminal/package manager and install following packages:

     git
     libibus-1.0-dev
     automake
     autoconf
     make
     gjs
     ibus
    

    For e.g. Debian 10 "buster"

    As root, do:

     apt install git libibus-1.0-dev automake autoconf make gjs ibus
    

    For other linux distributions

    You'll need all related build tools like automake, autoconf etc... and to run it you need ibus and gjs. Use the list of packages above as guidance, but please note that some packages may have other names.

  2. Now give the following commands step-by-step:

     git clone https://github.com/sarim/ibus-avro.git
     cd ibus-avro
     aclocal && autoconf && automake --add-missing
     ./configure --prefix=/usr
     sudo make install
    

    For Fedora (36, Cinnamon DE), Installing from source, and Enabling IBus Avro

     git clone https://github.com/sarim/ibus-avro.git
     cd ibus-avro
     sudo dnf install automake # this installs aclocal, autoconf, and automake
     sudo dnf install ibus-devel ibus-libs  # to repair "missing ibus-1.0 error"
     aclocal && autoconf && automake --add-missing
     ./configure --prefix=/usr
    
     sudo make install
    

    Avro should be installed on your system. If you can't find anything, try logging out / restarting the computer. Now one needs to add avro in his input method. Since the installation was done on Fedora 36 with Cinnamon DE, it maybe slightly different in other DE (ie, Gnome, KDE, etc).

    Press windows key -> Input method selector. Initially, no input method was chosen. Select Use IBus, and at the right of Use IBus, there is Preference. Clicking it opens IBus preference. Now Input method -> Add -> Bangla -> Avro. One may need to logout again to see the changes.

Usage

  1. Run IBus (Applications -> System Tools -> IBus) from Dash
  2. Open IBus Preferences from the top panel icon
  3. Go to Input method
  4. Select an input method -> Bengali -> Avro
  5. Now Click Add button to add Avro to the list
  6. Now restart IBus from the top panel icon (Right Click -> Restart)
  7. Now Press Ctrl+Space to toggle between English and Avro (Bengali)
  8. Enjoy Avro Phonetic!

It requires additional steps to configure ibus-avro in Manjaro GNOME (and possibly other distros using a very recent GNOME version). See this comment for more details.

Contributors

IBus Engine by Sarim Khan sarim2005@gmail.com

Avro JavaScript Phonetic Library by Rifat Nabi

Avro Phonetic Dictionary Search Library by Mehdi Hasan Khan

Licensed under Mozilla Public License 2.0 ("MPL"), an open source/free software license.