Jump to content

Redshift (software)

From Wikipedia, the free encyclopedia

Redshift
Developer(s)Jon Lund Steffensen
Initial release4 November 2009; 15 years ago (2009-11-04)[1]
Final release
1.12 / 20 May 2018; 6 years ago (2018-05-20)[2]
Repository
Written inC, Python
Operating systemBSD, Linux, Windows
Successorgammastep
Available inEnglish
LicenseGPLv3
Websitehttp://jonls.dk/redshift/

Redshift is an application that adjusts the computer display's color temperature based upon the time of day. The program is free software, and is intended to reduce eye strain as well as insomnia[3] (see Sleep#Circadian clock and Phase response curve#Light).

Redshift transitions the computer display's color temperature evenly between daytime and night temperatures to allow the user's eyes to slowly adapt. At night, the color temperature is low and is typically 3000–4000 K, preferably matching the room's lighting temperature. Typical color temperature during the daytime is 5500–6500 K.

Features

[edit]

Redshift is primarily distributed for and used on the Linux operating system.

Redshift can be used to set a single color temperature and brightness ("one shot mode") or can adjust the temperature and brightness continuously to follow the sun's elevation, in which case it will transition to the night color temperature settings near twilight. The temperature and brightness settings for daytime and night can be user-configured.

To determine the Sun's elevation the software requires the user's location in form of latitude and longitude.[3]

On Linux and BSD operating systems, Redshift supports multiple monitors through the X extensions RandR (preferred) or VidMode, or through the Direct Rendering Manager. Because Redshift can only be configured to use the same gamma correction on all monitors it controls, it is usually desirable to run one instance of the program per monitor.

Interfaces

[edit]

Redshift originally possessed only a command-line interface, but now has graphical user interfaces (GUIs) that support most Linux desktop environments. Those GUIs include redshift-gtk, redshift-plasmoid, and nightshift.

redshift-gtk is included in Redshift's source tree. In addition to a windowed interface, it provides a tray status icon that can enable or disable Redshift or adjust the screen's color temperature automatically.

Redshift can be opened with the use of terminal, panel launchers or startup commands: the command 'redshift -O #TEMP' (#TEMP being a number from 1000 to 25000) will set the temperature and the command 'redshift -x' to exit Redshift.

A simple script can be made and called upon to set the colour temp manually via a shortcut or panel launcher:

  1. Create a new file and copy in the following:
    #!/bin/bash
    shouldloop=true;
    while $shouldloop; do
        read -p "What temp would you like? 1000-25000K: " scale
    
        if "$scale" -ge 1000 && "$scale" -le 25000; then
            redshift -O $scale
            shouldloop=false;
        elif $scale = "x"; then
            exit
        elif $scale = "X"; then
            exit
        else
            echo "Invalid value or outside range. x to exit..."
        fi
    done
    
  2. Save the file in your /home/$user directory.
  3. Change the properties of the file so it can be executed (using chmod or context menu permissions).
  4. Create a new launcher ("set temp") referring to the file you have named above and select "Open in Terminal".
  5. Create a new launcher ("exit redshift") with the command redshift -x (no need to open this in terminal).
  6. Use the launcher to set temperature or exit Redshift.

Forks

[edit]

Since 14 Jun 2020, Redshift development has been unnoticibly abandoned.

Since 27 August 2023, Debian users are recommended to use gammastep, a Redshift fork, instead.[4][5][6]

Reviews

[edit]

Redshift has been positively reviewed by Linux users,[7][8][9] who note that Redshift has some installation and user interface advantages compared to the f.lux Linux port xflux. However, f.lux's systems have since been updated to enhance its dimmed display.[7]

Ubuntu MATE provides Redshift installed by default since their 17.10 release.[10]

Linux Mint Cinnamon provides Redshift installed by default since their 18.3 release.[11] Since development of Redshift has been abandoned, Linux Mint is looking for replacement.[6]

See also

[edit]

References

[edit]
  1. ^ "Redshift 0.1". GitHub. 4 November 2009. Retrieved 26 October 2013.
  2. ^ "Redshift releases". GitHub. 7 March 2019.
  3. ^ a b Github release 1.9
  4. ^ "Chinstrap / gammastep · GitLab". GitLab. Retrieved 9 September 2024.
  5. ^ "Redshift - Debian Wiki". wiki.debian.org. Retrieved 9 September 2024.
  6. ^ a b "Redshift is Deprecated and no longer maintained anymore. Use gammastep As Replacement In Future Releases · linuxmint · Discussion #174". GitHub. Retrieved 9 September 2024.
  7. ^ a b Gordon, Whitson (18 June 2010). "RedShift Makes Your Screen Easier on the Eyes at Night". LifeHacker. Retrieved 20 April 2020.
  8. ^ Popov, Dmitri. "Improve Your Night Sleep with Redshift and F.lux". Linux Magazine. Retrieved 20 April 2020.
  9. ^ Pot, Justin (17 June 2010). "Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]". MakeUseOf. Retrieved 20 April 2020.
  10. ^ Wimpress, Martin (28 July 2017). "Ubuntu MATE 17.10 Alpha 2". Ubuntu MATE. Retrieved 8 August 2017.
  11. ^ "New features in Linux Mint 18.3 Cinnamon". Linux Mint. Retrieved 1 December 2017.
[edit]