How to Use Nightlight Feature in Linux Mint to Save Your Eyes at Night

The night light has become an essential feature on desktop and mobile devices. It makes working at computers at night a lot less painful for the eyes.

On desktop Linux, GNOME and KDE desktop environments provide a built-in nightlight feature.

However, Linux Mint’s flagship Cinnamon desktop doesn’t have it in-built. But that doesn’t mean you cannot use it on Linux Mint.

Using nightlight feature on Linux Mint

Starting with Linux Mint 20, you have Redshift preinstalled. Redshift is a popular tool that reduces the temperature so that you see a pale yellow screen, which is easier on eyes at night.

Please check the Linux Mint version you are using. If it is Linux Mint 19 series, you’ll have to install Redshift:

sudo apt install redshift redshift-gtk

To access Redshift, you just need to search for it from the menu and click on it to launch it.

redshift menu

The icon should pop up in the system tray and do its work without any configuration needed.

redshift system tray

While it does not offer any configuration, you can choose to set it to auto-start when you boot up the computer.

redshift details

It automatically syncs to your timezone (may get affected if you are connected to a VPN), and adjusts the color of the screen as per your environment.

If you want more control, you can choose to use QRedshift, which is another applet available for Linux Mint. You will have to remove Redshift (redshift-gtk) to avoid conflicts with it.

Possible troubleshoot with Redshift

Well, I installed Redshift and tried to run it. It gave me an error in my face:

Failed to run Redshift
Trying location provider `geoclue2’…
Unable to connect to GeoClue.
Unable to get location from provider.

Redshift failed to start in Linux Mint 18

I wanted to report this annoying bug to its developer as this is the right way to help Linux community. When I went to its Github page, I found that this is already a known bug and to fix this, we need to install geoclue2.

Open a terminal and use the command below:

sudo apt install geoclue-2.0

No need to restart. Just search for Redshift in the menu and start it. You won’t see the “failed to run Redshift” error anymore.

I hope this quick post helped you to install Redshift in Linux Mint and saved your eyes.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.