How To Install xssproxy on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xssproxy
on Ubuntu 20.04.
What is xssproxy
xssproxy is:
xssproxy implements the org.freedesktop.ScreenSaver D-Bus interface described in the Idle Inhibition Service Draft by the freedesktop.org developers. The inhibition of the screensaver is then controlled using the XScreenSaverSuspend function from the Xss (X11 Screen Saver extension) library.
This package is useful when using a lightweight window manager with the X built-in screensaver. For example Firefox uses the org.freedesktop.ScreenSave D-Bus interface to disable the screensaver when playing videos. This package implements that interface and disables the X built-in screensaver in that case. A possible use case is to install this package with the xmonad window manager and the display locker tools xssstate and slock included in the suckless-tools package. All the major full-featured desktop environments like GNOME come with a built-in implementation of the beforementioned D-Bus interface and thus make no sense to be used with this package.
There are three methods to install xssproxy
on Ubuntu 20.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 xssproxy Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xssproxy
using apt-get
by running the following command:
sudo apt-get -y install xssproxy
Install xssproxy Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xssproxy
using apt
by running the following command:
sudo apt -y install xssproxy
Install xssproxy 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 xssproxy
using aptitude
by running the following command:
sudo aptitude -y install xssproxy
How To Uninstall xssproxy on Ubuntu 20.04
To uninstall only the xssproxy
package we can use the following command:
sudo apt-get remove xssproxy
Uninstall xssproxy And Its Dependencies
To uninstall xssproxy
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xssproxy
Remove xssproxy Configurations and Data
To remove xssproxy
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xssproxy
Remove xssproxy configuration, data, and all of its dependencies
We can use the following command to remove xssproxy
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xssproxy
References
Summary
In this tutorial we learn how to install xssproxy
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.