Skip to content

Fcitx5 wrapper for Varnam input method. Easily type Indian languages on Linux desktops.

License

Notifications You must be signed in to change notification settings

varnamproject/varnam-fcitx5

Repository files navigation

Varnam Fcitx5

A wrapper to add Varnam Input Method Engine support in Fcitx5 Input Method.

Please report bugs by raising issues, if you find any.

Dependencies

  • A C++ compiler that supports c++17 standard.
  • Varnam
  • Varnam Schemes
  • Fcitx5
  • CMake (build-dep)
  • fcitx5-modules-dev (build-dep on debian based distributions)
  • extra-cmake-modules (build-dep)
  • pkgconf (build-dep)

Installation

Build & Install

Important

Please Uninstall the older version first, to avoid conflicts.

git clone https://github.com/varnamproject/varnam-fcitx5.git
cd varnam-fcitx5
cmake -B build/ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -S .
cmake --build build/ --config Release
sudo cmake --install build/ --config Release

or

git clone https://github.com/varnamproject/varnam-fcitx5.git
cd varnam-fcitx5
cmake -B build/ -DCMAKE_INSTALL_PREFIX=/usr
cd build && make -j4
sudo make install

CMake supports multiple build system generators including Ninja. Commands could change based on the generator you use.

To enable debug logs, configure the project with -DVARNAM_DEBUG=ON option.

cmake -B build/ -DVARNAM_DEBUG=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release

Uninstall

cd build
sudo make uninstall

or

cd build
sudo ninja uninstall

Packaging status

Configuration

Varnam Fcitx can be configured using fcitx5-configtool. Please refer the official documentation.

Config Tool

Property Description
Strictly Follow Scheme For Dictionary Results If this is turned on then suggestions will be more accurate according to scheme. But you will need to learn the language scheme thoroughly for the best experience.
Enable Learning New Words Varnam will try to learn every new word we write by default. This feature can be disabled through the configuration window.