Redshift (software): Difference between revisions

Content deleted Content added
adde f.lux to see also
Reviews: Fixed missing article
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(43 intermediate revisions by 31 users not shown)
Line 1:
{{short description|Computer display color temperature auto-adjuster}}
{{for|the astronomy3D rendering software|Redshift (planetarium softwarerenderer)}}
 
{{Use dmy dates|date=January 20132023}}
{{Infobox software
| name = Redshift
| logo = [[File:Redshift-icon-256.png|64px]]
| logo size = 64px
| screenshot = [[File:Redshift-ubuntu-mate.png|260px]]
| caption screenshot = Redshift 1.11software on [[Ubuntu MATE]] 17PC.10 Alpha 2jpg
| screenshot size = 260px
| developer = [https://github.com/jonls Jon Lund Steffensen]
| caption = Redshift 1.12 activated on [[Ubuntu]] [[Ubuntu 23.04|23.04 Lunar Lobster]]
| released = {{Start date and age|df=yes|2009|11|04}}<ref>{{cite web|title=Redshift 0.1|url=https://github.com/jonls/redshift/releases/tag/0.1|date=4 November 2009|accessdate=26 October 2013}}</ref>
| developer = [httpshttp://githubjonls.comdk/jonls Jon Lund Steffensen]
| latest release version = 1.11
| latest release date released = {{releaseStart date and age|df=yes|20162009|0111|0204}}<ref>{{cite web|title=Redshift releases0.1|website=[[GitHub]]|url=https://github.com/jonls/redshift/releases/tag/0.1|date=4 November 2009|accessdate=26 October 2013}}</ref>
| discontinued = yes
| programming language = C, Python
| latest release version = 1.1112
| operating system = [[BSD]], [[Linux]], [[Microsoft Windows|Windows]]
| released latest release date = {{Startrelease date and age|df=yes|20092018|1105|0420}}<ref>{{cite web|title=Redshift 0.1releases|website=[[GitHub]]|url=https://github.com/jonls/redshift/releases/tag/0.1|date=4 November 2009|accessdate=26 October 20132019-03-07}}</ref>
| language = English
| programming language = [[C (programming language)|C]], [[Python (programming language)|Python]]
| license = [[GNU General Public License|GPLv3]]
| operating system = [[BSD]], [[Linux]], [[Microsoft Windows|Windows]]
| website = http://jonls.dk/redshift/
| replaced_by = gammastep
| language = English
| license = [[GNU General Public License|GPLv3]]
| website = http://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.]]<ref name="github">[https://github.com/jonls/redshift/releases/tag/v1.9 Github release 1.9].</ref> (see {{slink|Sleep#Circadian clock}} and {{slink|Phase response curve#Light}}).
 
Redshift transitions the computer display's color temperature evenly between [[daylight|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 &nbsp;K, and preferably matching the room's [[lighting]] temperature. Typical color temperature during the daytime is 5500–6500 &nbsp;K.
 
== Features ==
Redshift is primarily distributed for and used on the [[Linux]] [[operating system]].
Redshift is primarily distributed for and used on the [[Linux]] [[operating system]]. Initially it had been designed to be controlled from the [[command line]], but meanwhile has added [[Graphical user interface|GUI]] interfaces to support most Linux desktop environments. Those frontends include redshift-gtk, redshift-plasmoid, and nightshift. redshift-gtk is included in Redshift's source tree. In addition it provides a tray status icon that can enable or disable Redshift, or adjust the color temperature automatically.
 
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 [[Solar elevation|sunSun'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 [[Solar elevation|Sun's elevation]], the software requires the user's ___location in form of [[Geographic coordinate#Geographic latitude and longitude|latitude and longitude]].<ref name="github" />
 
On Linux and [[BSD]] operating systems, Redshift supports multiple monitors through the [[X Window System|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 ===
Redshift originally had only a [[command-line interface]], but now has [[graphical user interface]]s (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 <code>redshift -O #TEMP</code> (<code>#TEMP</code> being the color temperature in kelvins, from 1000 to 25000) will set the temperature, and the command <code>redshift -x</code> to exit Redshift.
 
A simple script can be made and called upon to set the color temperature manually via a shortcut or panel launcher:
# Create a new file and copy in the following:<syntaxhighlight lang="bash>
#!/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
</syntaxhighlight>
# Save the file in your <code>/home/$user</code> directory.
# Change the properties of the file so it can be executed (using <code>[[chmod]]</code> or context menu permissions).
# Create a new launcher ("set temp") referring to the file you have named above and select "Open in Terminal".
# Create a new launcher ("exit redshift") with the command <code>redshift -x</code> (no need to open this in terminal).
# Use the launcher to set temperature or exit Redshift.
 
== Forks ==
Since 14 Jun 2020, Redshift development has been abandoned.
 
Since 27 August 2023, [[Debian]] users are recommended to use <code>gammastep</code>, a Redshift fork, instead.<ref>{{Cite web |title=Chinstrap / gammastep · GitLab |url=https://gitlab.com/chinstrap/gammastep |access-date=2024-09-09 |website=GitLab |language=en}}</ref><ref>{{Cite web |title=Redshift - Debian Wiki |url=https://wiki.debian.org/Redshift |access-date=2024-09-09 |website=wiki.debian.org}}</ref><ref name=":0">{{Cite web |title=Redshift is Deprecated and no longer maintained anymore. Use gammastep As Replacement In Future Releases · linuxmint · Discussion #174 |url=https://github.com/orgs/linuxmint/discussions/174 |access-date=2024-09-09 |website=GitHub |language=en}}</ref>
 
== Reviews ==
Redshift has been positively reviewed by Linux users,<ref name=lifehacker>{{cite web|last1=Gordon|first1=Whitson|title=RedShift Makes Your Screen Easier on the Eyes at Night|date=18 June 2010 |url=httphttps://lifehacker.com/5567172/redshift-makes-your-screen-easier-on-the-eyes-at-night-5567172|publisher=LifeHacker|accessdate=320 MarchApril 20152020}}</ref><ref name=linuxmag>{{cite web|last1=Popov|first1=Dmitri|title=Improve Your Night Sleep with Redshift and F.lux|url=httphttps://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Improve-Your-Night-Sleep-with-Redshift-and-F.lux|publisherwork=Linux Magazine|accessdate=320 MarchApril 20152020}}</ref><ref name=makeuseof>{{cite web|last1=Pot|first1=Justin|title=Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]|date=17 June 2010 |url=httphttps://www.makeuseof.com/tag/redshift-eyes-sharp-helps-sleep-linux/|publisher=MakeUseOf|accessdate=320 MarchApril 20152020}}</ref> who note that Redshift has some installation and user interface advantages compared to the [[f.lux]] Linux port [[XFlux|xflux]]. However, f.lux's systems have since been updated to enhance its dimmed display.<ref name="lifehacker" />
 
[[Ubuntu MATE]] plans to provideprovides Redshift as an application installed by default insince their upcoming release 17.10 release.<ref>{{Cite news|url=https://ubuntu-mate.org/blog/ubuntu-mate-artful-alpha2/|title=Ubuntu MATE 17.10 Alpha 2|last=Wimpress|first=Martin|date=2017-07-28|work=Ubuntu MATE|access-date=2017-08-08|language=en}}</ref>
 
[[Linux Mint]] Cinnamon provides Redshift installed by default since their 18.3 release.<ref>{{Cite news|url=https://www.linuxmint.com/rel_sylvia_cinnamon_whatsnew.php|title=New features in Linux Mint 18.3 Cinnamon|work=Linux Mint|access-date=2017-12-01|language=en}}</ref> Since development of Redshift has been abandoned, Linux Mint is looking for a replacement.<ref name=":0" />
 
== See also ==
* [[F.lux]]
* [[Red Moon (software)]]
* [[Night Shift (software)]] – a feature of macOS and iOS that provides a similar function
 
== References ==
Line 44 ⟶ 88:
== External links ==
* [https://github.com/jonls/redshift Project website] on [[GitHub]]
* [https://gitlab.com/chinstrap/gammastep gammastep] on [[GitLab]] (Redshift fork)
 
* [https://github.com/faf0/sct Xsct] on [[GitHub]] (a minimalistic Redshift and f.lux implementation for [[X11]])
{{Software-stub}}
 
[[Category:2011 software]]
[[Category:Free software]]
[[Category:Ergonomics]]
[[Category:Sleep]]
[[Category:Free software programmed in C]]
[[Category:Free software programmed in Python]]
[[Category:Cross-platform free software]]
[[Category:Software using the GNU General Public License]]