Ever since Mac deploys the night shift feature, I could not stop using it. For someone who needs to look at monitors for long hours, I absolutely love it. I can also do it with Linux.

Ubuntu 17 comes with night light support, but it does not allow me to customize the color temperature. For me, too much red with the default night light. So I came across redshift and it works on command line.

To get it to work in a cronjob, one needs to setup the DISPLAY variable in crontab. Here is how to do it (courtesy of Dan D.)

Now the screen will automatically go warm in the evening. I sometimes use it in day time too.

Featured image from UNIVERSAL HISTORY ARCHIVE/UIG VIA GETTY IMAGES

Leave a Comment