Categories: TutorialsUbuntu

How to Install and Use Redshift in Ubuntu

Redshift is a more effective and amazing tool in case you are using a laptop/PC for a longer period of time. You can also take advantage of redshift for regular use cases. As redshift has an outstanding feature of maintaining the color temperature of your laptop/PC screen as per your wish. It can adjust color temperature for daylight or the night time too. With this feature, it makes the users more comfortable to use their laptop/pc.

In this article, we are going to install and show the cool feature by using it on Ubuntu 20.04 LTS.

How to install Redshift in Ubuntu 20.04 LTS

Sponsored

You can install Redshift in Ubuntu directly from its repository with the command as shown below.

First let’s update the repo with the following command.

$ sudo apt update -y

Secondly, let’s install the Redshift in Ubuntu 20.04 LTS with the following command.

$ sudo apt install redshift redshift-gtk -y

How to configure and Use Redshift in Ubuntu 20.04 LTS

You can search for the default configuration file at ~/.config/redshift.conf, if not available you can create a file and write the configurations as per your need for the color temperature. The daytime temperature is 6500K by default and 4500K for night. You can adjust as per your need.

You can create your configuration file with an editor like vim as shown below.

$ vim ~/.config/redshift.conf

Save the configuration now. Here, you can see configurations for temp-day, temp night, dawn-time, dusk-time, brightness-day, brightness-night, gamma, latitude, longitude, and screen. You can also change or adjust these configurations by running the syntax as shown below.

Adjusting Gamma for day and night

gamma = 0.8

Adjusting Gamma for day only

gamma-day = 0.8:0.7:0.8

Sponsored

Adjusting Gamma for night only

gamma-night = 0.6

Adjusting the color temperature for day only

temp-day = 5600

Adjusting the color temperature for night only

temp-night = 3500

How to Use Redshift with GUI in Ubuntu

You have learned to use redshift with the command line and set the configurations as per your need. But normally, you can also use redshift with GUI interface. You can simply search it on the application manager and it will be launched after you select redshift.

As for now, as we have already saved the configurations for redshift, it will be launched with that configuration. You can see the redshift icon on notifications bars on your screen. You can see the picture below for further details.

You can simply enable/disable, suspend or quit the redshift by clicking the options as shown on the picture above.

Conclusion

With Redshift, adjusting the color temperature as per your location and need is pretty easy. Try installing and using it for this amazing feature. Thank you!

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

2 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

5 days ago