Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daytime color temperature #14

Open
GnaXi opened this issue Jul 6, 2016 · 20 comments
Open

Daytime color temperature #14

GnaXi opened this issue Jul 6, 2016 · 20 comments

Comments

@GnaXi
Copy link

GnaXi commented Jul 6, 2016

In the Windows version it is possible to have a daytime color temperature set as well.
It would be nice to see this introduced on Linux! :)

@ghost
Copy link

ghost commented Jul 7, 2016

Good idea! On linux, whenever I set the color mode to be more thicker, it will slowly turn back to original brightness. (on daylight)

However, my workspace environment is dark. So I probably need to change the brightness manually instead of activating flux gui.

This idea need to be implemented. 😃

@ntc2
Copy link
Member

ntc2 commented Jul 7, 2016

Sounds good to me. Someone want to implement this and submit a pull request?

@ghost
Copy link

ghost commented Jul 20, 2016

Hi, anyway where can you find the xflux-gui Windows version source/branch code?
Someone could just integrate the specific code taken from Windows source code version into this branch, and modify it for gtk platform.

@GnaXi
Copy link
Author

GnaXi commented Jul 20, 2016

I do not believe that the original f.lux for Windows is open source.

@ghost
Copy link

ghost commented Jul 20, 2016

Oh, I see. I thought the Windows version is also a part of open source project, just like Linux version.

@ghost
Copy link

ghost commented Sep 10, 2016

I want this feature so bad. Using redshift will always return method rand at STDOUT. Don't know how to make redshift working on Ubuntu. Hoping this will be in high priority in new feature list.

@bknie1
Copy link

bknie1 commented Oct 18, 2016

Here to show support for this request! I love working at night but I also liked having a daytime tint. Linux has been harder on my eyes.

@ntc2
Copy link
Member

ntc2 commented Oct 18, 2016

Redshift supports daytime temps. E.g. you can run the command line version with

redshift -v -t 4200:2500

to use color temp 4200 in the day time and 2500 at night, with automatic timezone-based transitions. It would be great to have this daytime temp feature in flux GUI, but in the mean time ...

@bknie1
Copy link

bknie1 commented Oct 18, 2016

Redshift supports daytime temps.

Redshift starts, rolls through each specific setting, and then returns to full brightness. It will flash to my specified setting every few seconds. I have no idea why it's broken and have attempted to reinstall it multiple times. Unfortunately, xflux is the only app that works for me.

@ntc2
Copy link
Member

ntc2 commented Oct 18, 2016

@bknie1 you probably already thought of this, but are you sure there are no other xflux or redshift processes running? If more than one of these programs are running at the same time, they could interfere with each other.

@bknie1
Copy link

bknie1 commented Oct 18, 2016

@ntc2 So I didn't see any process conflicts. However, between investigating and switching GPU settings it seems to have fixed itself. A little OT but thanks for, at the very least, getting me to buckle down on it. I might be good? I'll go close my issue topic on Redshift now, haha. Thanks!

@ghost
Copy link

ghost commented Dec 3, 2016

@bknie1 Running working redshift here. Did you checked if any fluxgui process running in the background?

This solved my problem.

#27 (comment)

@teddyhartanto
Copy link

I'd love to see this implemented too! I like to use the tint no matter what time of the day it is.

@hippyk
Copy link

hippyk commented May 7, 2017

I have found the best solution: Install wine and use the windows version. Perceft run !

@ntc2
Copy link
Member

ntc2 commented Jun 6, 2017

Note from #52: this feature may be somewhat difficult to implement, because xflux itself -- the program that fluxgui uses to control the color temperature -- does not have this feature. So, it seems we would need to implement our own "is it day or night right now?" logic, duplicating that functionality in xflux, and then use the xflux feature that allows us to set the color temp independent of time of day. Of course, figuring out if it's day or night should be super easy using the latitude and longitude and some existing service; presumably xflux itself just calls out to some web service for this.

@johanbaaij
Copy link

@hippyk works great for me too except not in a dual monitor situation? did you happen to get that working? i'm using wine 2.13 (play on linux).

@hippyk
Copy link

hippyk commented Aug 17, 2017

@johanbaaij My situation is the same with you. But I don't think it's very bad. After all, only one monitor is used for most time.

@ntc2
Copy link
Member

ntc2 commented Jan 2, 2019

Note that Redshift already supports day time temps, so if we added Redshift backed per #113 it would solve this issue.

@Pipo05
Copy link

Pipo05 commented Jun 14, 2019

Hi everyone! i encountered the same issue trying to get the blue light removed during day time. Unlike in Windows, you just can't adjust the tint and have it stay for long. It only previews well and then returns to full brightness.
So i used a little trick to get it working even daytime. That is, when it's daytime in the US, i know it's probably nighttime in places like some parts in Africa or Asia. So i'd put the coordinates(latitude/longitude) of a city in Africa or Asia in the app's preferences. And it works fine for me. it would dim until it turns daytime in that part of the world, at which point it'll be nighttime in the US and simply replace the coordinates(latitude/longitude) with local US coordinates. (Also, when copying the coordinates from the google page that opens up, make sure to first part before comma for latitude and the other part for longitude; instead copying everything in one field of the preferences and then leaving the longitude field empty)Hope this helps someone until we find a permanent fix for Linux users.

@ntc2
Copy link
Member

ntc2 commented Sep 28, 2022

We now have Redshift support, so implementing this feature for the Redshift backend would be very simple if anyone wants to take a stab at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants