# Linux

Swanalekha is available in all major GNU/Linux distributions like Ubuntu, Debian, Fedora etc. To install and configure Swanalekha, please follow the below instructions. It is assumed that you are not using very old versions of these distributions.

# Installing Packages

Package names of the packages required to make Swanalekha work on Linux mostly do not change across distributions. So you can use your GUI package manager such as 'Software Center' on Ubuntu to search and install the following packages:

ibus ibus-m17n m17n-db.

Alternatively, if you are comfortable using linux terminal, you may install them using the respective package manager of your distribution:

# Debian, Ubuntu and other Debian based OS

sudo apt install ibus ibus-m17n m17n-db

# Archlinux, Manjaro and other Archlinux based OS

sudo pacman -S ibus ibus-m17n m17n-db.

# Fedora

sudo dnf install ibus-m17n m17n-db.

NOTE: If the package names change in the future and is not updated here it always a good idea to search for the packages through your package manager, that is apt search for Debian and Ubuntu, pacman -Ss for Archlinux and Manjaro and dnf search for Fedora. Alternatively you can use the package tracking systems of your distribution to find updated package names. Package tracking sysytems for Debian. Ubuntu, Archlinux and Fedora are given below.

# Setting up iBus

If you're using Gnome (which is what comes default in distributions like Ubuntu and Fedora) or any GTK based desktop environment, after installing the packages, you should either logout and login again or run the following command for them to be loaded: ibus restart

Once that is done, you need to select Swanalekha as input method to your input method settings. The following two videos shows how to do this in Ubuntu 18.04 and 14.04, respectively.

Once configured, you can open any text editor and choose Swanalekha as input method and start typing in Malayalam

# Disable the suggestions

Once you learned all key combinations, the suggestions under your cursor may not be interesting. You can switch of that.

There is a new version of swanalekha which is not yet available in operating systems by default, but can be installed. This version does not have the suggestions list by default. Only the list under cursor is disabled, you can still use up/down arrows to choose the options.

Open the terminal. In Ubuntu, you can do that by Alt+F1, search Terminal.

Run this command to get the new version of swanalekha:

wget http://swanalekha.smc.org.in/m17n/ml-swanalekha.mim

Install it using the following command

sudo cp ml-swanalekha.mim /usr/share/m17n/ml-swanalekha.mim

Either logout and login or restart the input method system by the following command:

ibus-daemon -rdx

Whether the suggestions should be shown or not is an option, you may change that using m17n-im-config command.You may need to install m17n-im-config package for this.