xflux Linux - How do I keep flux on ALL the time?
-
This post is deleted! -
I would also like it to work all the time to rest my eyes.
Why is it possible on windows and not on linux ?Developpers who spend lots of time front of the display had to rest eyes with this fonctionnality.
-
I created an account just to +1 this post. F.LUX TEAM, can we get an update on this?
-
This post is deleted! -
@shiva said in xflux Linux - How do I keep flux on ALL the time?:
'McMurdo Station
In the meantime, just enter the following coordinates for McMurdo Station in Alaska:
-77.9527, 166.4895And then we can keep the screen filter on ALL the time. As I am learning programing myself, the only way possible to stare at a screen for a full day is with a blue light filter engaged during the day time.
-
I'd also be much appreciated if there's an update on this. I turn on flux all the time on my Mac.
-
@dkennell Yes! I created an account here also to ask for the same thing. But, even better is that on Win7 I can use the slider to adjust the colors.
When I'm working on things where I don't care what shade of color something is, I turn blue all the way down. Then, when I have to do something where I need to see what is blue vs green or whatever, I can turn it back up enough to do that without turning it all the way up most of the time.
I miss that on Linux. And I primarily use Linux for work! Now that Twitter foolishly has only bright white or white text on dark backgrounds, I really need it to tolerate using Twitter at all.
May have to try to do Twitter only on Win7, but I really prefer to only use it for the few Windows-specific platforms people still insist on using that don't support Linux.
-
Hi guys, I too want to have the 3000 setting all day, or 2700. I used to have the maximum at 3000 so that I could have it all day long. I use computers all day, I program a lot, and I need the 3000 to protect my eyes, also because my eyes are very light-sensitive, I even have to use some dark glasses while driving at night and always use my laptop brightness at the minimum plus having xflux at 3000, I always use the laptop with dim lights never use it at sunlight, so you get the idea, and there are many like me.
So it's important to have an option to have no more than 3000 the entire day, and using crontab to make xflux change its location several times per day, or even use it to change several times per year, is not practical. Could you please add an option for the maximum value to be 3000?
It would be easy for you to add a simple parameter, and make the maximum value with it, a very quick change and lots of people would thank you.
Thanks!
-
@goncalo By the way, I think I know why this option was left undone, I noticed KDE has now a night option, on Settings -> Hardware -> Display and Monitor, there's an option there for the Night warm colours like Flux, and it has the "constant" option. Now I don't know about Gnome as I just use KDE, but maybe Gnome has it also already, hope this helps.
-
here is how to do it...
cat timer.cc
#include <time.h> struct tm *gmtime_r(const time_t *timep, struct tm *result) { result-> tm_sec = 0; /* seconds */ result-> tm_min = 2; /* minutes */ result-> tm_hour = 12; /* hours */ result-> tm_mday = 21; /* day of the month */ result-> tm_mon = 12; /* month */ result-> tm_year = 2020; /* year */ result-> tm_wday = 3; /* day of the week */ result-> tm_yday = 355; /* day in the year */ result-> tm_isdst = 0; /* daylight saving time */ return result; }
create this file (note the contents for date/time are constantly set for Sydney summer solstice night time)
gcc -shared -o libtimemachine.so -fPIC timer.cc
this compiles a shared library that mimics the gmtime_r function (which is used by f.lux and hardcodes it to a set time - change yours to a suitable time based upon your timezone)
LD_PRELOAD=./libtimemachine.so xflux -k 2000 -l 1 -nofork