xtitle command not found

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

Introduction

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

xtitle: command not found

or when using sudo you get the following error message

sudo: xtitle: command not found

Solutions to xtitle: command not found

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

In Ubuntu xtitle is provided by xtitle package.

xtitle is:

Xtitle sets the window title and/or the icon name of the terminal window in which it is run to be its command line arguments. It does this by outputting the appropriate xterm(1) control sequence charac characters. Unless messages are suppressed, xtitle will also report the settings it has made.

Note: In order to be able to change the terminal’s title, the terminal must support ANSI escape codes.

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

sudo apt-get -y install xtitle

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

You can also use apt command to install xtitle.

sudo apt -y install xtitle

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

sudo aptitude install xtitle

Summary

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