autocutsel command not found

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

Introduction

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

autocutsel: command not found

or when using sudo you get the following error message

sudo: autocutsel: command not found

Solutions to autocutsel: command not found

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

In Ubuntu autocutsel is provided by autocutsel package.

autocutsel is:

This tracks changes in the server’s cutbuffer and clipboard selection. when the clipboard is changed, it updates the cutbuffer. When the cutbuffer is changed, it owns the clipboard selection. The cutbuffer and clipboard selection are always synchronized. In the case of a VNC client since it synchronizes the Windows’ clipboard and the server’s cutbuffer, all three “clipboards” are always kept synchronized. When you copy some text in Windows, the cutbuffer and the clipboard selection are updated. When you copy text on the server using either the cutbuffer or the clipboard selection, the Windows’s clipboard is always updated.

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

sudo apt-get -y install autocutsel

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

You can also use apt command to install autocutsel.

sudo apt -y install autocutsel

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

sudo aptitude install autocutsel

Summary

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