Menu
blog.headdesk.me
blog.headdesk.me

Redshift for Linux desktop

Posted on 2017/04/152017/04/15

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.)

# crontab -e
DISPLAY=:0.0
0 8 * * * redshift -x
0 18 * * * redshift -O 4800

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

Loading

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Full text search

Recent Posts

  • Generate secure password
  • AWS Compute Savings Plans
  • AWS Zonal Shift
  • Coffee break…
  • Prevent private key from being committed to git
  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes