xssproxy command not found

In this troubleshooting guide we learn how to fix xssproxy command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xssproxy: command not found

or when using sudo you get the following error message

sudo: xssproxy: command not found

Solutions to xssproxy: command not found

How To Fix xssproxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xssproxy is provided by xssproxy package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xssproxy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xssproxy.

sudo apt -y install xssproxy

Or if you have aptitude installed you can use the following command.

sudo aptitude install xssproxy

Summary

In this tutorial we learn how to fix xssproxy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.