Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use a cronjob (or your DE/OS's equivalent).


Ideally, I want a scheduled gradual sunset over one hour or so. I want it to work so that my eyes and brain have time to adjust, and I don't even notice the change, like a slow sunset. I don't see how I could do this with a cronjob and f.lux. Am I missing something?

For this reason, I actually used a patched version of Redshift back when I was on a Linux desktop. Now I'm on a Mac. I used to run f.lux, until Night Shift came out with the superior scheduling options.

I do believe in the "amount of blue-green light" argument from the f.lux guys, and would like to see a way to configure macOS to almost completely eliminate blue light, like f.lux does. If f.lux were to introduce a simple schedule option a'la Night Shift, I might switch back.


The problem with the sunset feature is if you're playing a game it absolutely destroys the FPS I get. Unfortunately I think the shortest interval is 20seconds, which is a pretty long time to be playing a competitive game that stutters.


Or use the alternative tool that he's talking about that supports his use case directly.


That will probably not work in the summer. f.lux won't turn on its effect until the sunset at midnight for example, even if you start it at 9pm (planning to go to sleep at 10pm).


I use a cronjob with redshift[0] and it works. You can set it to simply toggle the effect without any scheduling (`redshift -O 3400` to enable, `redshift -x` to disable). I have it set to enable at 9PM and disable the next morning when I open my laptop lid ;)

[0] http://jonls.dk/redshift/


I can manually set the time i go to sleep, playing with that setting moves around the "curve" of bright/dimmed light. I have set it so that flux thinks I wake up in the middle of the night, so it dims the screen in the early evening.

Personally I wont stop using f.lux, what I really like is that I can set custom colours and get a more orange screen even during daytime. I really like the softer colours, even when the sun is up.


That setting only exists on Macs last i checked so that is quite useless


macOS supports cron, but doesn't have a command line flux tool.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: