Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


Redshift

Redshift is an automatic color temperature adjustment to help reduce monitor eye strain induced by working in low-light conditions.

Reference(s)

Table of contents


Install

# emerge -a x11-misc/redshift
# pacman -S redshift
# apt install redshift
# yum install redshift
# dnf install redshift

Config

E.g. manually configure redshift to be located in Paris:

$ mkdir -p ~/.config/redshift
$ vi ~/.config/redshift/redshift.conf
    > [redshift]
    > ; Set the location-provider: 'geoclue2', 'manual'
    > ; type 'redshift -l list' to see possible values.
    > ; The location provider settings are in a different section.
    > location-provider=manual
    >
    > [manual]
    > ; Paris:
    > lat=48.86
    > lon=2.34


Use

Invoke redshift help:

$ redshift -h

Get redshift up and running with configured setup (in ~/.config/redshift/redshift.conf):

$ redshift

Get redshift up and running with a basic setup:

$ redshift -l LATITUDE:LONGITUDE


If this cheat sheet has been useful to you, then please consider leaving a star here.