Developer(s) | Jon Lund Steffensen |
---|---|
Initial release | 4 November 2009 [1] |
Stable release | 1.12 / 20 May 2018 [2] |
Repository | |
Written in | C, Python |
Operating system | BSD, Linux, Windows |
Available in | English |
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 [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.
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.
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:
#!/bin/bashshouldloop=true;while$shouldloop;doread-p"What temp would you like? 1000-25000K: "scale if"$scale"-ge1000&&"$scale"-le25000;thenredshift-O$scaleshouldloop=false;elif$scale="x";thenexitelif$scale="X";thenexitelseecho"Invalid value or outside range. x to exit..."fidone
/home/$user
directory. chmod
or context menu permissions).redshift -x
(no need to open this in terminal).Redshift has been positively reviewed by Linux users, [4] [5] [6] 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. [4]
Ubuntu MATE provides Redshift installed by default since their 17.10 release. [7]
Linux Mint Cinnamon provides Redshift installed by default since their 18.3 release. [8]
Advanced package tool, or APT, is a free-software user interface that works with core libraries to handle the installation and removal of software on Debian, and Debian-based Linux distributions. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code.
Gambas is the name of an object-oriented dialect of the BASIC programming language, as well as the integrated development environment that accompanies it. Designed to run on Linux and other Unix-like computer operating systems, its name is a recursive acronym for Gambas Almost Means Basic. Gambas is also the word for prawns in the Spanish, French, and Portuguese languages, from which the project's logos are derived.
Inkscape is a free and open-source vector graphics editor for traditional Unix-compatible systems such as GNU/Linux, BSD derivatives and Illumos, as well as Windows and macOS. It offers a rich set of features and is widely used for both artistic and technical illustrations such as cartoons, clip art, logos, typography, diagramming and flowcharting. It uses vector graphics to allow for sharp printouts and renderings at unlimited resolution and is not bound to a fixed number of pixels like raster graphics. Inkscape uses the standardized Scalable Vector Graphics (SVG) file format as its main format, which is supported by many other applications including web browsers. It can import and export various other file formats, including SVG, AI, EPS, PDF, PS and PNG.
Synaptic is a GTK-based graphical user interface for the APT package manager used by the Debian Linux distribution and its derivatives. Synaptic is usually used on systems based on deb packages but can also be used on systems based on RPM packages. It can be used to install, remove and upgrade software packages and to add repositories.
GNOME Terminal is a terminal emulator for the GNOME desktop environment written by Havoc Pennington and others. Terminal emulators allow users to access a UNIX shell while remaining on their graphical desktop.
Banshee was a cross-platform open-source media player, called Sonance until 2005. Built upon Mono and Gtk#, it used the GStreamer multimedia platform for encoding, and decoding various media formats, including Ogg Vorbis, MP3 and FLAC. Banshee can play and import audio CDs and supports many portable media players, including Apple's iPod, Android devices and Creative's ZEN players. Other features include Last.fm integration, album artwork fetching, smart playlists and podcast support. Banshee is released under the terms of the MIT License. Stable versions are available for many Linux distributions, as well as a beta preview for OS X and an alpha preview for Windows.
Audacious is a free and open-source audio player software with a focus on low resource use, high audio quality, and support for a wide range of audio formats. It is designed primarily for use on POSIX-compatible Unix-like operating systems, with limited support for Microsoft Windows. Audacious was the default audio player in Ubuntu Studio in 2011–12, and was the default music player in Lubuntu until October 2018, when it was replaced with VLC.
ClamTk is a free software graphical interface for the ClamAV command line antivirus software program, for Linux desktop users. It provides both on-demand and scheduled scanning. The project was started by Dave Mauroni in February 2004 and remains under development.
Conky is a free software desktop system monitor for the X Window System. It is available for Linux, FreeBSD, and OpenBSD. Conky is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes, Arch Linux updates, many popular music players, weather updates, breaking news, and much more. Unlike system monitors that use high-level widget toolkits to render their information, Conky is drawn directly in an X window. This allows it to be configured such that it consumes relatively few system resources.
Linux Mint is a community-driven Linux distribution based on Ubuntu, bundled with a variety of free and open-source applications. It can provide full out-of-the-box multimedia support for those who choose to include proprietary software such as multimedia codecs. Compared to Ubuntu, it uses the Cinnamon interface by default, using a different, more traditional layout that can be customized by dragging the applets and creating panels. New applets can also be downloaded.
Phoronix Test Suite (PTS) is a free and open-source benchmark software for Linux and other operating systems. The Phoronix Test Suite, developed by Michael Larabel and Matthew Tippett, has been endorsed by sites such as Linux.com, LinuxPlanet, and Softpedia.
GNOME, originally an acronym for GNU Network Object Model Environment, is a free and open-source desktop environment for Linux and other Unix-like operating systems.
LightDM is a free and open-source X display manager that aims to be lightweight, fast, extensible and multi-desktop. It can use various front-ends to draw the user interface, also called Greeters. It also supports Wayland.
f.lux is a cross-platform computer program that adjusts a display's color temperature according to location and time of day, offering functional respite for the eyes. The program is designed to reduce eye strain during night-time use, helping to reduce disruption of sleep patterns.
Cinnamon is a free and open-source desktop environment for Linux and Unix-like operating systems, deriving from GNOME 3 but following traditional desktop metaphor conventions.
mpv is free and open-source media player software based on MPlayer, mplayer2 and FFmpeg. It runs on several operating systems, including Unix-like operating systems and Microsoft Windows, along with having an Android port called mpv-android. It is cross-platform, running on ARM, PowerPC, x86/IA-32, x86-64, and MIPS architecture.
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel and the systemd init system. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system. Snap was originally released for cloud applications but was later ported to also work for Internet of Things devices and desktop applications.
Windows Subsystem for Linux (WSL) is a feature of Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting. There are two versions of WSL: WSL 1 and WSL 2. WSL 1 was first released on August 2, 2016, and acts as a compatibility layer for running Linux binary executables by implementing Linux system calls on the Windows kernel. It is available on Windows 10, Windows 10 LTSB/LTSC, Windows 11, Windows Server 2016, Windows Server 2019 and Windows Server 2022.
Foliate is a free e-book reading application for desktop Linux systems. The name refers to leaves, meaning "(getting) leafy" or "…-leaved".
Qalculate! is an arbitrary precision cross-platform software calculator. It supports complex mathematical operations and concepts such as derivation, integration, data plotting, and unit conversion. It is a free and open-source software released under GPL v2.