Are you spending many hours in front of the PC at night? Because you help to sleep better after that, here’s how to install the latest version of Redshift on Linux.
Redshift is an application that adjusts the temperature of the screen color according to its environment. This can help prevent your eyes from getting more worn if you are working in front of the PC screen at night.
Redshift is an application that changes the color temperature of your computer monitor according to the location and time of day to reduce eye strain during night use and prevent exposure to light from the screen Disturb your sleep.
Redshift adjusts the color temperature according to the position of the sun. A different color temperature is set at night and during the day.
During dusk and early morning, the color temperature gently moves from night to daytime to allow your eyes to adjust slowly.
At night the color temperature should be adjusted to match the bulbs in your room. This is usually a low temperature around 3000K-4000K (default is 3700K).
During the day, the color temperature should match the light from the outside, usually around 5500K-6500K (default is 5500K). On a cloudy day, the light will have a higher temperature.
Get to know Redshift better
To learn more about this program, click on this link .
How to install Redshift on Linux
Redshift is in the default repository of the major distributions. Therefore, to install the program simply use the system package manager, browse for it and install.
How to install the latest version of Redshift on Linux
Now, if you want to install the latest version of Redshift on Linux, do the following:
Step 1. Open a terminal;
Step 2. Install program dependencies using your system’s package manager (autotools, gettext, libdrm, libxcb, libxcb-randr, libX11, libXxf86vm, and geoclue 2). In Ubuntu, for example, the command is as follows;
sudo apt-get install autotools-dev libxcb1-dev libxcb-randr0-dev gettext autoconf autopoint geoclue-2.0
Step 3. Use the command below to download the program. If the link is outdated, go to this page , download the latest version and save it as redshift.tar.xz;
wget https://github.com/jonls/redshift/releases/download/v1.11/redshift-1.11.tar.xz -O redshift.tar.xz
Step 4. After downloading, unzip the downloaded file using the following command;
sudo tar Jxf redshift-1.11.tar.xz
Step 5. Access the created folder;
Step 6. Use the command below to prepare the compilation of the program;
./configure --enable-ubuntu --enable-gui --enable-randr
Step 7. Now compile the program with the command:
Step 8. Then use the command below to install the program;
sudo make install
Running Redshift on Linux
Restart the PC or quit the current session, and see if the program was run at startup. If this does not happen, check the option to include applications at startup if the program does not start automatically after restart.