gtk-redshift command not found

In this troubleshooting guide we learn how to fix gtk-redshift command not found error message

Introduction

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

gtk-redshift: command not found

or when using sudo you get the following error message

sudo: gtk-redshift: command not found

Solutions to gtk-redshift: command not found

How To Fix gtk-redshift: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gtk-redshift is provided by redshift-gtk package.

redshift-gtk is:

The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt.

This package installs a graphical user interface for redshift.

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

sudo apt-get -y install redshift-gtk

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

You can also use apt command to install redshift-gtk.

sudo apt -y install redshift-gtk

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

sudo aptitude install redshift-gtk

Summary

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