How To Install unity-settings-daemon on Ubuntu 18.04

In this tutorial we learn how to install unity-settings-daemon on Ubuntu 18.04. unity-settings-daemon is daemon handling the Unity session settings

Introduction

In this tutorial we learn how to install unity-settings-daemon on Ubuntu 18.04.

What is unity-settings-daemon

unity-settings-daemon is:

This package contains the daemon which is responsible for setting the various parameters of a Unity session and the applications that run under it. It handles the following kinds of settings:

  • Keyboard: layout, accessibility options, shortcuts, media keys
  • Clipboard management
  • Theming: background, icons, GTK+ applications
  • Cleanup of unused files
  • Mouse: cursors, speed, accessibility options
  • Startup of other daemons: screensaver, sound daemon
  • Typing break

It also sets various application settings through X resources and freedesktop.org XSETTINGS.

There are three methods to install unity-settings-daemon on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install unity-settings-daemon Using apt-get

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

sudo apt-get update

After updating apt database, We can install unity-settings-daemon using apt-get by running the following command:

sudo apt-get -y install unity-settings-daemon

Install unity-settings-daemon Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install unity-settings-daemon using apt by running the following command:

sudo apt -y install unity-settings-daemon

Install unity-settings-daemon Using aptitude

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

sudo aptitude update

After updating apt database, We can install unity-settings-daemon using aptitude by running the following command:

sudo aptitude -y install unity-settings-daemon

How To Uninstall unity-settings-daemon on Ubuntu 18.04

To uninstall only the unity-settings-daemon package we can use the following command:

sudo apt-get remove unity-settings-daemon

Uninstall unity-settings-daemon And Its Dependencies

To uninstall unity-settings-daemon and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove unity-settings-daemon

Remove unity-settings-daemon Configurations and Data

To remove unity-settings-daemon configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge unity-settings-daemon

Remove unity-settings-daemon configuration, data, and all of its dependencies

We can use the following command to remove unity-settings-daemon configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge unity-settings-daemon

References

Summary

In this tutorial we learn how to install unity-settings-daemon package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.