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

facebookShare on Facebook
TwitterTweet

Leave a Reply Cancel reply

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

Full text search

Recent Posts

  • Terraform and segregated permissions
  • LVM Compression and Deduplication
  • Edit gpg encrypted file with vim
  • Lelit Elizabeth PL92T Pressure Tuning
  • jq transformation
  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (58)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup clearlinux cloud coffee docker DOCP ec2 EL8 epyc espresso featured gpg jenkins kernel lelit linux lvm meltdown memory MFA mikrotik php python rdp Redhat RHEL roasting rpm Ryzen site-to-site snapshot spectre tech terraform tuning ubuntu ubuntu upgrade vim vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress