You are not logged in.

#1 2010-12-02 14:04:11

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Lets do it ourselves: F.Lux clone

Hi,

yesterday I encountered very nice concept of adapting color temperature by natural lightning. It modifies your monitors color temperature when day turns to night etc. Some words from original page: "F.lux fixes this: it makes the color of your computer's display adapt to the time of day, warm at night and like sunlight during the day. It's even possible that you're staying up too late because of your computer. You could use f.lux because it makes you sleep better, or you could just use it just because it makes your computer look better."

I like this idea very much, but the program is closed source and for me it doesn't work on dual-head setup.

I don't have much hacking experience in this kind of project, but can start it if someone helps with advices and maybe coding too. It can't be too difficult.

What do you think?

F.lux http://www.stereopsis.com/flux/
========================================

We have Redshift for free: http://jonls.dk/redshift/
And some GUI somewhat: http://www.webupd8.org/2010/07/redshift … -when.html

Last edited by taavi (2011-02-10 05:58:34)

Offline

#2 2010-12-02 14:14:36

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: Lets do it ourselves: F.Lux clone

Have you tried redshiftgui in the AUR?

Last edited by z0id (2010-12-02 14:16:11)


/usr/bin/drinking

Offline

#3 2010-12-02 14:15:31

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Lets do it ourselves: F.Lux clone

Superthanks z0id. It's already done!

Offline

#4 2010-12-03 14:50:38

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Lets do it ourselves: F.Lux clone

I've been using redshift for a few weeks; I like it, it makes the screen "warmer" (but too difficult to read at night with the default setting), but I can't say it helped as far as sleep is concerned.

Offline

#5 2010-12-03 15:13:15

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Lets do it ourselves: F.Lux clone

Well monitors should display what appears to be 6500K (A white document should be the same color as a white sheet of paper in direct sunlight). In order to alter the color temperature on the software, gamma has to be shifted towards red and green. xgamma can be used for this, however the actual amout of gamma has to be calculated based on the actual temperature of the monitor. Which I don't believe there's anyway to get that info. So one would have to offer configuration options for those who have 9300K, 7500K, 6500K, and 5500K monitors.

I wonder what F.Lux does.


Personally, I'd rather be back in Hobbiton.

Offline

#6 2010-12-03 17:30:58

sugardeath
Member
Registered: 2010-03-02
Posts: 82

Re: Lets do it ourselves: F.Lux clone

stqn wrote:

I've been using redshift for a few weeks; I like it, it makes the screen "warmer" (but too difficult to read at night with the default setting), but I can't say it helped as far as sleep is concerned.

I've also not noticed any benefits regarding sleep, but at least now I'm no longer killing my eyes with a bright blue/white monitor when I'm up 'til 7am.  The sleeping thing is just going to have to be self-control on my part.

Offline

#7 2011-01-24 00:30:15

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: Lets do it ourselves: F.Lux clone

Anyone been able to install this lately? I tried just now and got:

Connecting to github.com|207.97.227.239|:443... connected.
ERROR: certificate common name "*.github.com" doesn't match requested host name "github.com".
To connect to github.com insecurely, use '--no-check-certificate'.
==> ERROR: Failure while downloading RedshiftGUI-0.2.1-Linux-i686.tar.gz
    Aborting...
==> ERROR: Makepkg was unable to build redshiftgui.

Offline

#8 2011-01-24 01:21:28

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Lets do it ourselves: F.Lux clone

sugardeath wrote:
stqn wrote:

I've been using redshift for a few weeks; I like it, it makes the screen "warmer" (but too difficult to read at night with the default setting), but I can't say it helped as far as sleep is concerned.

I've also not noticed any benefits regarding sleep, but at least now I'm no longer killing my eyes with a bright blue/white monitor when I'm up 'til 7am.  The sleeping thing is just going to have to be self-control on my part.

Old thread, but what the heck. Color temperature doesn't affect melatonin, nor does it affect eyesight. If you want a "safer" display lower the contrast on your monitor, but this only applies to CRTs. LCDs have a fixed brightness due to the backlight. Changing the brightness setting can have a small effect.


Personally, I'd rather be back in Hobbiton.

Offline

#9 2011-01-24 03:01:21

sugardeath
Member
Registered: 2010-03-02
Posts: 82

Re: Lets do it ourselves: F.Lux clone

Anikom15 wrote:
sugardeath wrote:
stqn wrote:

I've been using redshift for a few weeks; I like it, it makes the screen "warmer" (but too difficult to read at night with the default setting), but I can't say it helped as far as sleep is concerned.

I've also not noticed any benefits regarding sleep, but at least now I'm no longer killing my eyes with a bright blue/white monitor when I'm up 'til 7am.  The sleeping thing is just going to have to be self-control on my part.

Old thread, but what the heck. Color temperature doesn't affect melatonin, nor does it affect eyesight. If you want a "safer" display lower the contrast on your monitor, but this only applies to CRTs. LCDs have a fixed brightness due to the backlight. Changing the brightness setting can have a small effect.

I don't know how all that works, but I do know that my eyes don't feel nearly as strained with the red-tint as they used to.

Offline

#10 2011-01-24 18:58:23

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Lets do it ourselves: F.Lux clone

That's because your eyes need to do less work adjusting for the color temperature. Optimally, white on the monitor should be the same as a white sheet of paper in sunlight.


Personally, I'd rather be back in Hobbiton.

Offline

#11 2011-01-24 19:07:21

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Lets do it ourselves: F.Lux clone

Been using redshift for nearly 2 months now and every time when I instantly turn it off at night, it comes as surprise how much nicer it is with warmer colors in nighttime. And that shift happens around 16 o'clock this time of year.

Offline

#12 2011-02-06 07:13:58

nXqd
Member
Registered: 2010-07-01
Posts: 173

Re: Lets do it ourselves: F.Lux clone

I'm using xflux commandline version and it is good smile


When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles

Offline

#13 2011-02-09 04:30:39

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

Re: Lets do it ourselves: F.Lux clone

Since I can't adjust my backlight, I was hoping this would solve my problem.

Alas, neither work sad

redshiftgui: Failure while downloading RedshiftGUI-0.2.1-Linux-x86_64.tar.gz
xflux: This will only work if you're running X on console.

I'm guessing that xflux assumes that :0 is the only console display.  I run qingy which breaks that assumption... my display is :1 (or :2, :3, etc.).

xflux doesn't appear to be open source, so that's a dead-end.

redshiftgui is, but the AUR package doesn't build it from source, it just downloads the binary.... I'll take a quick look and see if it's easy to make a 64-bit build.

Last edited by TheAmigo (2011-02-09 04:34:51)

Offline

#14 2011-02-09 07:38:18

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Lets do it ourselves: F.Lux clone

You don't need redshiftgui, which only triggers console version of redshift: community/redshift ... I have 64-bit system and both installed though.

Offline

#15 2011-02-09 23:55:02

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

Re: Lets do it ourselves: F.Lux clone

Well, that makes things a lot easier smile

Offline

#16 2011-02-10 00:01:41

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 300
Website

Re: Lets do it ourselves: F.Lux clone

Btw: Is it just me or does xflux only work on one screen? When you use it with two or more screens it only updates the colors of the first one.

Offline

#17 2011-02-10 05:52:16

taavi
Member
From: Tartu, Estonia
Registered: 2010-10-10
Posts: 50
Website

Re: Lets do it ourselves: F.Lux clone

I've read that it's was one of the main reasons behind the need to develop redshift. And it was my main reason to search something else.

Last edited by taavi (2011-02-10 05:56:47)

Offline

#18 2011-02-10 16:10:45

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 300
Website

Re: Lets do it ourselves: F.Lux clone

taavi wrote:

I've read that it's was one of the main reasons behind the need to develop redshift. And it was my main reason to search something else.

Ah cool, working now. Thanks.

Offline

Board footer

Powered by FluxBB