Redshift is a popular screen temperature adjustment tool that helps reduce eye strain and improve sleep quality by adapting the color temperature of your screen according to the time of day. If you’re using Ubuntu 22.04 and want to install Redshift, follow this step-by-step guide to get started.
Step 1: Update System Packages Before installing any software, it’s essential to ensure your system is up to date. Open the terminal and run the following command:
sudo apt update
Step 2: Install Redshift Redshift is available in the official Ubuntu repositories, making it easy to install. Run the following command to install Redshift:
sudo apt install redshift redshift-gtk
Step 3: Configure Redshift Once Redshift is installed, you need to configure it to adjust the screen temperature based on your location and preferences. Create a configuration file by running the following command:
touch ~/.config/redshift.conf
Next, open the configuration file in a text editor:
sudo vim ~/.config/redshift.conf
In the file, you can customize the temperature settings according to your preference. For example, you can use the following configuration as a starting point:
[redshift]
location-provider=manual
[manual]
lat=YOUR_LATITUDE
lon=YOUR_LONGITUDE
[screen]
brightness-day=1.0
brightness-night=0.8
temperature-day=6500
temperature-night=4500
Replace YOUR_LATITUDE
and YOUR_LONGITUDE
with the latitude and longitude coordinates of your location.
Step 4: Autostart Redshift To ensure Redshift starts automatically when you log in, open the Startup Applications preferences on your Ubuntu system. Click on the “Add” button and enter the following details:
- Name: Redshift
- Command:
/usr/bin/redshift-gtk
Click “Add” to save the settings.
Step 5: Launch Redshift To launch Redshift immediately, open the Activities menu and search for “Redshift.” Click on the Redshift icon to start the application.
Conclusion: By following these steps, you can successfully install and configure Redshift on Ubuntu 22.04. Redshift’s screen temperature adjustment feature can help reduce eye strain and improve your sleep patterns, especially during nighttime computer usage. Enjoy a more comfortable viewing experience on your Ubuntu system with Redshift!