All Projects → jonls → Redshift

jonls / Redshift

Licence: gpl-3.0
Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.

Programming Languages

c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
M4
1887 projects
objective c
16641 projects - #2 most used programming language
Roff
2310 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to Redshift

DiscordNight
An actual Dark/Nightmode Theme for Discord/BetterDiscord
Stars: ✭ 86 (-98.35%)
Mutual labels:  night, night-mode
Fluxgui
Better lighting for Linux. Open source GUI for xflux
Stars: ✭ 2,566 (-50.87%)
Mutual labels:  night, eye-strain
Redshift-Tray
A no-frills GUI for the excellent Redshift, with some optional OS hotkeys
Stars: ✭ 34 (-99.35%)
Mutual labels:  redshift, color-temperature
alfred-night-shift
🌝 Alfred 3 workflow to toggle night shift
Stars: ✭ 18 (-99.66%)
Mutual labels:  night, night-mode
BQconvert
BigQuery Schema Conversion Tool
Stars: ✭ 20 (-99.62%)
Mutual labels:  redshift
instance-watcher
Get notified for Instances mistakenly left running across all AWS regions for specific AWS Account
Stars: ✭ 90 (-98.28%)
Mutual labels:  redshift
udacity-data-eng-proj2
A production-grade data pipeline has been designed to automate the parsing of user search patterns to analyze user engagement. Extract data from S3, apply a series of transformations and load into S3 and Redshift.
Stars: ✭ 25 (-99.52%)
Mutual labels:  redshift
react-mui-pro-starter
Mix of Create React App and Material UI with set of reusable components and utilities to build professional React Applications faster.
Stars: ✭ 14 (-99.73%)
Mutual labels:  night-mode
Red Moon
Android screen filter app for night time phone use.
Stars: ✭ 476 (-90.89%)
Mutual labels:  night-mode
Dknightversion
Manage Colors, Integrate Night/Multiple Themes. (Unmaintained)
Stars: ✭ 3,559 (-31.86%)
Mutual labels:  night-mode
AndTTT
🎲 Simple tic tac toe game for Android
Stars: ✭ 15 (-99.71%)
Mutual labels:  night-mode
feathers-objection
Feathers database adapter for Objection.js, an ORM based on KnexJS SQL query builder for Postgres, Redshift, MSSQL, MySQL, MariaDB, SQLite3, and Oracle. Forked from feathers-knex.
Stars: ✭ 89 (-98.3%)
Mutual labels:  redshift
Slack Theme Cli
A CLI tool for changing Slack's desktop app colors
Stars: ✭ 256 (-95.1%)
Mutual labels:  night-mode
Redash
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
Stars: ✭ 20,147 (+285.74%)
Mutual labels:  redshift
tellery
Tellery lets you build metrics using SQL and bring them to your team. As easy as using a document. As powerful as a data modeling tool.
Stars: ✭ 219 (-95.81%)
Mutual labels:  redshift
sweb
Android Simple Web Browser
Stars: ✭ 30 (-99.43%)
Mutual labels:  night-mode
Falconmessenger
🌟🌟🌟🌟🌟 Falcon Messenger is a Fast and Beautiful cloud-based messaging app. With iOS and IPadOS Support. Available on the App Store.
Stars: ✭ 310 (-94.06%)
Mutual labels:  night-mode
dbd
dbd is a database prototyping tool that enables data analysts and engineers to quickly load and transform data in SQL databases.
Stars: ✭ 30 (-99.43%)
Mutual labels:  redshift
Nova-Dark-Theme
A dark theme for Laravel Nova
Stars: ✭ 72 (-98.62%)
Mutual labels:  eye-strain
xfce4-night-mode
XFCE4 plugin: Switch between light and dark variants of a theme
Stars: ✭ 53 (-98.99%)
Mutual labels:  night-mode

Redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.

README versions: latest | 1.12 | 1.11

Redshift logo

Run redshift -h for help on command line options. You can run the program as redshift-gtk instead of redshift for a graphical status icon.

Build status

Build Status Build Status

Technical Details (Gamma Ramps)

Redshift applies a redness effect to the graphical display. The intensity of the redness can be customized and scheduled to only be applied at night or to be applied with more intensity at night.

Redshift uses the gamma correction ramps to apply this effect which has traditionally been the only way of applying a color effect to the display. Note that this is really a hack to work around the absense of a standardized way of applying color effects, and it is resulting in several issues some of which are explained in the FAQ section below. As long as Redshift is using gamma ramps, many of these issues are impossible to solve properly in Redshift.

Since Redshift was first created, many desktop environments have adopted similar functionality as an integrated component:

Using the features integrated into the desktop environments avoids many of the issues with gamma ramps which is why these implementations should generally be favored over Redshift. On the other hand, Redshift may offer some additional flexibility that is not available in the integrated features.

FAQ

How do I install Redshift?

Use the packages provided by your distribution, e.g. for Ubuntu: apt-get install redshift or apt-get install redshift-gtk. For developers, please see Building from source and Latest builds from master branch below.

How do I setup a configuration file?

A configuration file is not required but is useful for saving custom configurations and manually defining the location in case of issues with the automatic location provider. An example configuration can be found in redshift.conf.sample.

The configuration file should be saved in the following location depending on the platform:

  • Linux/macOS: ~/.config/redshift/redshift.conf (if the environment variable XDG_CONFIG_HOME is undefined) or ${XDG_CONFIG_HOME}/redshift/redshift.conf (if XDG_CONFIG_HOME is defined).
  • Windows: Put redshift.conf in %USERPROFILE%\AppData\Local\ (aka %localappdata%).

Where can I find my coordinates to put in the configuration file?

There are multiple web sites that provide coordinates for map locations, for example clicking anywhere on Google Maps will bring up a box with the coordinates. Remember that longitudes in the western hemisphere (e.g. the Americas) must be provided to Redshift as negative numbers.

Why does GeoClue fail with access denied error?

It is possible that the location services have been disabled completely. The check for this case varies by desktop environment. For example, in GNOME the location services can be toggled in Settings > Privacy > Location Services.

If this is not the case, it is possible that Redshift has been improperly installed or not been given the required permissions to obtain location updates from a system administrator. See https://github.com/jonls/redshift/issues/318 for further discussion on this issue.

Why doesn't Redshift work on my Chromebook/Raspberry Pi?

Certain video drivers do not support adjustable gamma ramps. In some cases Redshift will fail with an error message, but other drivers silently ignore adjustments to the gamma ramp.

Why doesn't Redshift change the backlight when I use the brightness option?

Redshift has a brightness adjustment setting but it does not work the way most people might expect. In fact it is a fake brightness adjustment obtained by manipulating the gamma ramps which means that it does not reduce the backlight of the screen. Preferably only use it if your normal backlight adjustment is too coarse-grained.

Why doesn't Redshift work on Wayland (e.g. Fedora 25)?

The Wayland protocol does not support Redshift. There is currently no way for Redshift to adjust the color temperature in Wayland.

Instead, you can use:

  • In GNOME Shell: Settings → Display Settings → Night Light
  • In Plasma: System Settings → Display and Monitor → Night Color

Why doesn't Redshift work on Ubuntu with Mir enabled?

Mir does not support Redshift.

When running as a systemd service, redshift fails to connect to the graphical environment

You need to export your environment variables when your window manager or compositor start up. Typically, you want to run this as part of its startup:

systemctl --user import-environment; systemctl --user start graphical-session.target

See your compositor's (or window manager's) documentation for further details of setting up the systemd user session.

Related issues: #753.

The redness effect is applied during the day instead of at night. Why?

This usually happens to users in America when the longitude has been set in the configuration file to a positive number. Longitudes in the western hemisphere should be provided as negative numbers (e.g. New York City is at approximately latitude/longitude 41, -74).

Why does the redness effect occasionally switch off for a few seconds?

Redshift uses the gamma ramps of the graphics driver to apply the redness effect but Redshift cannot block other applications from also changing the gamma ramps. Some applications (particularly games and video players) will reset the gamma ramps. After a few seconds Redshift will kick in again. There is no way for Redshift to prevent this from happening.

Why does the redness effect continuously flicker?

You may have multiple instances of Redshift running simultaneously. Make sure that only one instance is running for the display where you are seeing the flicker.

Why doesn't Redshift change the color of the mouse cursor?

Mouse cursors are usually handled separately by the graphics hardware and is not affected by gamma ramps. Some graphics drivers can be configured to use software cursors instead.

I have an issue with Redshift but it was not mentioned in this FAQ. What do I do?

Please go to the issue tracker and check if your issue has already been reported. If not, please open a new issue describing you problem.

Latest builds from master branch

Contributing / Building from source

See the file CONTRIBUTING for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].