How To Install fcitx-dbus-status on Kali Linux

In this tutorial we learn how to install fcitx-dbus-status on Kali Linux. fcitx-dbus-status is Addon for Fcitx to set/get/monitor IM statuses via D-Bus

Introduction

In this tutorial we learn how to install fcitx-dbus-status on Kali Linux.

What is fcitx-dbus-status

fcitx-dbus-status is:

fcitx-dbus-status addon provides DBus interface such as org.fcitx.Fcitx.Status, and provides Get/Set/Changed methods on it. By accessing these interfaces, you can monitor or control status of input method with external command line tool such as dbus-send. As a typical use case, you can set “katakana” mode in the following example for fcitx-mozc.

dbus-send
–dest=org.fcitx.Fcitx
–type=method_call
–print-reply
/Status
org.fcitx.Fcitx.Status.Set
string:“mozc-composition-mode”
string:“katakana”

There are three methods to install fcitx-dbus-status on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fcitx-dbus-status Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fcitx-dbus-status using apt-get by running the following command:

sudo apt-get -y install fcitx-dbus-status

Install fcitx-dbus-status Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fcitx-dbus-status using apt by running the following command:

sudo apt -y install fcitx-dbus-status

Install fcitx-dbus-status Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fcitx-dbus-status using aptitude by running the following command:

sudo aptitude -y install fcitx-dbus-status

How To Uninstall fcitx-dbus-status on Kali Linux

To uninstall only the fcitx-dbus-status package we can use the following command:

sudo apt-get remove fcitx-dbus-status

Uninstall fcitx-dbus-status And Its Dependencies

To uninstall fcitx-dbus-status and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove fcitx-dbus-status

Remove fcitx-dbus-status Configurations and Data

To remove fcitx-dbus-status configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge fcitx-dbus-status

Remove fcitx-dbus-status configuration, data, and all of its dependencies

We can use the following command to remove fcitx-dbus-status configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fcitx-dbus-status

Dependencies

fcitx-dbus-status have the following dependencies:

References

Summary

In this tutorial we learn how to install fcitx-dbus-status package on Kali Linux using different package management tools: apt, apt-get and aptitude.