The download is the xflux executable. Extract it and put in $PATH (/like /usr/bin).
Then you need to tell it where you are:
Welcome to xflux (f.lux for X)
This will only work if you're running X on console.
Usage: ./xflux [-z zipcode | -l latitude] [-g longitude] [-k colortemp (default 3400)] [-nofork]
protip: Say where you are (use -z or -l).
Today i started using an awesome application called f.lux.It makes the color of your computer's display adapt to the time of day, warm at night and like sunlight during the day.F.lux has linux, windows and mac binaries.But at the time being, linux binary does not have any gui, it is cli only.(Indeed it does not matter, it is so easy to use.And yes that image is not from linux binary XD )Here is how to get it working under ubuntu/linux :
Download and install flux :
$wget -c https://secure.herf.org/flux/xflux.tgz
$tar -xvzf xflux.tgz
$rm -rf xflux.tgz
$sudo cp xflux /usr/bin/
$sudo chmod 755 /usr/bin/xflux
Now you can run flux with xflux command, you can also add it to your start up, But first you have to define your zipcode or latitude.Example :
$xflux -l 33.55, 44.55
When i am posting this blog post, the f.lux does not support latitude over 60.
Or you can define zipcode -z instead of -l
Now add it to your startup :
System > Preferences > Sessions
Name : Xflux
Command : xflux -l 33.55, 44.55 (DO NOT FORGET TO CHANGE the latitude or Zip!)
Comment : F.lux , Better lighting For Your Computer
So basically you have to add the command to your session startup.