9 ms·
Redshift – A better flux program for Linux (2014)
- ashwanidausodia 8y agoI use it along with safeeyes. Both are awesome
- wtmt 8y agoI love these programs (or settings) on any platform I use (Windows, Mac, iOS, Linux). They do make a difference to my eyes in the evenings when working with these screens.
- sleavey 8y agoHappy user of redshift for years. Almost no problem except a strange one on Ubuntu 16.04 involving the Geoclue dependency. On 18.04 it is flawless.
- enz 8y agoHappy user here. Works like a charm on a Debian laptop and a 3-screens Debian desktop machine.
- MightySCollins 8y agoThis is now built into GNOME. You can set it under Displays
- akerro 8y agoThere also is Plasma5 native widget to control it automatically.
- mariushn 8y agoBut it can't decrease brightness: https://bugzilla.gnome.org/show_bug.cgi?id=784810 https://bugzilla.gnome.org/show_bug.cgi?id=784810
- mort96 8y agoOh, that's a bummer. One of the main reasons I use redshift on my laptop is that the backlight doesn't go dim enough at night.
- mariushn 8y agoPlease add a note to that bug report, so they can see more people need this.
- mort96 8y agoTo be honest, I've pretty much given up on Gnome. They're removing features I depend on left and right, don't respond to issues, and from everything I've heard, their technology stack seems to be a disaster. I'm happy just using KDE Plasma, XFCE and i3wm and not having to care about whatever Gnome is doing (except when changes to GTK affects the rest of the ecosystem, like their client side decorations which make Gnome apps look out of place).
- mariushn 8y agoThanks for sharing. Feeling the same, but didn't switch yet.
- craftoman 8y ago> But it can't decrease brightness Who said that? You can always decrease brightness on a Linux laptop since the first gnome, I myself have gnome3 installed on 2 laptops and the brightness buttons are working perfectly fine.
- foepys 8y agoSadly not available for Wayland because of Wayland's architecture. KDE and GNOME have some functionality built in but I don't know how good it actually is compared to redshift.
- celrod 8y agoI have a monitor connected to Xubuntu with X.org using redshift side by side with one hooked up to Fedora and GNOME. I think the latter often looks a little redder around sun set, but maybe my times aren't synced. Both look great. I have to relaunch redshift when I reboot. The GNOME setting just had to be set once.
- lozf 8y agoYou'll probably find that times are synced fine due to NTP... It's more likely to be colour temps, or possibly redshift's "location" setting that are different.
- ainar-g 8y agoI've recently upgraded from Ubuntu 16.04.5 to 18.04.1. The built-in Night Light functionality is actually OK. A little bit too red for my taste, but it does what it should.
- INTPenis 8y agoI use the built-in Gnome night mode with Wayland on Fedora and it works well. Occasionally it has failed for some reason, at night, and I'm shocked by the blue light flooding my senses.
- brobdingnagians 8y agoThis is one of those reasons why I hope Wayland doesn't take over too fast. I know it is awesome, and new, and has tons of benefits, but there are a few things that I couldn't live without that it doesn't have :(
- minus7 8y agoThat's not quite true: the compositor needs to support it. There's a protocol [1] for it that's supported by a redshift with a patch [2]. It also works out the box for any wlroots-based [3] compositors, like sway [4]. [1] https://github.com/swaywm/wlr-protocols/blob/master/unstable/wlr-gamma-control-unstable-v1.xml https://github.com/swaywm/wlr-protocols/blob/master/unstable... [2] https://github.com/minus7/redshift/tree/wayland https://github.com/minus7/redshift/tree/wayland [3] https://github.com/swaywm/wlroots https://github.com/swaywm/wlroots [4] https://github.com/swaywm/sway https://github.com/swaywm/sway
- krylon 8y agoI have been using Redshift ever since I reverted from Mac to GNU/Linux. I am not certain if it has any influence on my sleep, but I do like the warm, comfy colors, especially in winter.
- londt8 8y agoI don't really like these programs. I think it's better to drop monitor brightness than adjust the color temperature. Better for your eyes and you can see the colors better.
- LambdaComplex 8y agoIt's unfortunate that you're being downvoted without anyone telling you why they're downvoting. The issue isn't brightness, it's the actual color of the light. The tl;dr version is "blue light definitely messes with your sleep cycle." There's a Wikipedia page about this, with several references at the bottom: https://en.wikipedia.org/wiki/Effects_of_blue_light_technology https://en.wikipedia.org/wiki/Effects_of_blue_light_technolo... (And I'm sure a search in your favorite search engine will find even more information on this subject)
- mariushn 8y agoAlso, some monitors are way too bright, even when set to 0 (I have LG)
- tEMporality7 8y ago> blue light definitely messes with your sleep cycle ...and kills your eye cells.
- randallsquared 8y ago...eventually when your immune system declines due to age, or if you have an immune disease. The author of f.lux reviewed the recent blue light study on HN, in part pointing out that a daylit blue sky delivers far more blue light to one's eye than screens.
- deleted 8y ago[deleted]
- brobdingnagians 8y agoI absolutely _love_ Reshift. I've used it for years now, ever since I really strained my eyes with working in terrible lighting for too long in a strange situation awhile back... It helps reduce my eye strain dramatically-- I set it at 4000k and also have a smart bulb also set at 4000k for when I work at night. Absolutely awesome program; eye-saver; I'd love to personally thank the author some day.
- htor 8y agome too. you can donate money for example!
- systematical 8y agoLove it, its an eye saver.
- graupe 8y agoShameless plug: If someone is interested in using a program that has X as the only runtime dependency, you could checkout [0]. It is less a works-out-of-the-box solution, than a set of two tools you can integrate into your setup to shift screen color to your liking. It was inspired by [1]. [0]: https://github.com/graupe/brownout https://github.com/graupe/brownout [1]: https://news.ycombinator.com/item?id=10575921 https://news.ycombinator.com/item?id=10575921
- bwidlar 8y agoworks great, thanks.
- sunseb 8y agoIs it a good idea to activate Redshift/flux all the day (not just at night)?
- crtasm 8y agoIf it feels easier to look at your screen, do it. I have my daytime colour temperature a bit warmer than default on all my devices (then much warmer at night).
- quadrangle 8y agoI'll go a step further: most screens even black has some brightness and blueness. You can see the difference if you wear blue-blocking glasses. A pair of those is worthwhile. They're more widespread and inexpensive these days. But yeah, like the other reply, I use Redshift slightly less blue in daytime and much less blue at night.
- foo101 8y agoWhat's your Redshift setting for daytime? Do you or anyone else have a third setting for bedtime like f.lux has (say for 1 or 2 hours prior to bedtime)? If yes, how do you simulate this third setting and how do transition smoothly from the evening setting to the bedtime setting?
- quadrangle 8y agoI set daytime to 6250. I try to remember to wear amber glasses at bedtime. And the KDE Plasma Redshift Control widget lets me quickly scroll over the icon to make things more red or less. I don't have 3 different auto-settings. I would LIKE to do that though!! Is there a way to do that?
- grewil2 8y agoI use this in my .xinitrc, and keep redshift running all day. It automatically fades to red when the evening comes, and back again in the morning. nice redshift -l <YOUR-LAT>:<YOUR-LON> -b 0.6 -t 5500:1900
- 8y ago
- turrini 8y agoIf you have a calibrated screen, make sure you proper configure Redshift[0], so you don't lose your colour curves [0]: https://forum.manjaro.org/t/making-redshift-play-better-with-calibrated-screens/35070 https://forum.manjaro.org/t/making-redshift-play-better-with...
- ubercow13 8y agoIt does that by default now I believe
- AdmiralAsshat 8y ago>Unfortunately, it is harder to configure than F.lux. It is a command line only tool (with a GUI indicator component) and it requires creating a manual configuration file. I've been using Redshift for years, and it didn't require creating a manual configuration file unless you wanted to override the default settings. By default, it would use the geoclue2 package to try to figure out your geolocation and automatically adjust the brightness depending on that. Unfortunately, the geoclue2 package has been broken on Fedora for several releases (it triggers an SELinux alert), so I only recently had to create the redshift conf file to manually specify my GPS coordinates. Other than that, there's no need to override any of the other default settings.
- vermaden 8y agoNot only for Linux. Works great on FreeBSD as well. https://vermaden.wordpress.com/2018/06/28/freebsd-desktop-part-11-key-components-blue-light-spectrum-suppress/ https://vermaden.wordpress.com/2018/06/28/freebsd-desktop-pa... ... and if Redshift seems too 'bloated' with too much dependencies there is OpenBSD style SCT - Set Color Temperature: https://www.tedunangst.com/flak/post/sct-set-color-temperature https://www.tedunangst.com/flak/post/sct-set-color-temperatu...
- WhatIsDukkha 8y agosct is also in debian via this maintained fork - https://github.com/Tookmund/setcolortemperature https://github.com/Tookmund/setcolortemperature
- nbsd4life 8y agoI have this in my ~/.xinitrc because I found the color changes of f.lux distracting: xrandr --output DVI-I-1 --gamma 1:1:0.5
- earenndil 8y agoPerhaps the title should be changed to 'for x11'.
- vancan1ty 8y agoI prefer sct -- a very simple tool for setting the color temperature: https://github.com/faf0/sct https://github.com/faf0/sct https://www.tedunangst.com/flak/post/sct-set-color-temperature https://www.tedunangst.com/flak/post/sct-set-color-temperatu...
- foo101 8y agoDoes this work on macOS? The source code seems to be including X11 headers, so I guess it would require XQuartz or something to make it work? Has anyone got sct to work on macOS? Redshift works just fine on macOS. I've been using it and I like it more than f.lux because one can write scripts around it.
- bdz 8y ago>Unfortunately, it is harder to configure than F.lux. It is a command line only tool (with a GUI indicator component) and it requires creating a manual configuration file. Sums up the Linux experience perfectly. "I'm a Windows/OSX user and want to switch to Linux is there an alternative to X app? Yes but unfortunately, it is harder to configure, it is a command line only and it requires creating a manual configuration file." That's when a lot of people just nope out.
- green7ea 8y agoGnome 3 now has it built in and it's really easy to configure - there's an on and off button in the screen configuration. https://www.gnome.org/news/2017/03/gnome-3-24-released/attachment/night-light/ https://www.gnome.org/news/2017/03/gnome-3-24-released/attac...
- paulcarroty 8y agohttps://www.gnome.org/wp-content/uploads/2017/03/night-light.png https://www.gnome.org/wp-content/uploads/2017/03/night-light... Linux did a big move since "command line only".
- michaelmrose 8y agoIf you check out http://jonls.dk/redshift/ http://jonls.dk/redshift/ you will note that they provide a sample configuration in what appears to be toml where each option is annotated example ; Global settings for redshift [redshift] ; Set the day and night screen temperatures temp-day=5700 temp-night=3500 There are all of 9 settings in the default config with lots of explanations. The level of challenge required to copy some text into a text file with the syntax [section] settingname=value and change the values relevant to you is very modest. People are prone to overestimate the difficulty of anything without a gui in fact its often like this. Incidentally there appear to be a number of different guis for example on kde you could use https://phabricator.kde.org/source/plasma-redshift-control/ https://phabricator.kde.org/source/plasma-redshift-control/ To see the how this looks see https://www.makeuseof.com/tag/widgets-linux-plasma-applets/ https://www.makeuseof.com/tag/widgets-linux-plasma-applets/ This post sums of peoples misperception of linux perfectly.
- eftychis 8y agoYou should definitely start using redshift, if the thought crosses your mind. P.S. I am not sure what one's mileage might be in Linux without being able to access a terminal. That said I found redshift working out of the box, and there are various guis (see mentioned below). So the argument that it was harder to configure does not resonate with me really.
- Kablys 8y agoEven better option is to check if your monitor supports DDC [1], that way you can adjust monitor settings without fiddling with monitor buttons. For linux I use ddccontrol. [1] https://en.wikipedia.org/wiki/Display_Data_Channel https://en.wikipedia.org/wiki/Display_Data_Channel