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.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Linux System tools queries.
In this context, we shall look into how to install Redshift on your Linux system.
Steps to install Redshift on Ubuntu 20.04 LTS
You can install Redshift in Ubuntu directly from its repository by following the below procedure.
1. Perform System Update
First let's update the repo with the following command:
$ sudo apt update -y
2. Install Redshift on the system
Now, 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:
$ vim ~/.config/redshift.conf
Save the configuration now.
Here, you can set 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
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 ?
Usually, 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.
In our case, 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 simply enable/disable, suspend or quit the redshift by clicking the options.
[Need help in configuring Redshift on your Linux system ? We can help you. ]