Redshift for Ubuntu 14.10
F.lux seems to be broken for most of the Ubuntu users. Thankfully Redshift works on pretty much every Ubuntu distros.
This is checked for Ubuntu 14.04 LTS but should work for all Ubuntu versions.
sudo apt-get redshift gtk-redshift
Check if Redshift works from terminal:
You could run just “redshift”, but running “redshift-gtk”, which is a graphical package for Redshift, will also add an icon in the tray bar to indicate Redshift is working.
Your screen glow should change to reddish.
Ctrl+c to exit
If your Redshift has problems with location detection use this tutorial: http://askubuntu.com/questions/111576/how-do-i-get-redshift-to-start-with-my-computer
Create configuration file.
By default Redshift configuration may not be suited for everyone, to change it we need to create a configuration file:
; Set the day and night screen temperatures
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature
; Set the screen brightness. Default is 1.0
; It is also possible to use different settings for day and night since version 1.8.
; Set the screen gamma (for all colors, or each color channel individually)
; Set the location-provider: ‘geoclue’, ‘gnome-clock’, ‘manual’
; type ‘redshift -l list’ to see possible values
; The location provider settings are in a different section.
; Set the adjustment-method: ‘randr’, ‘vidmode’
; type ‘redshift -m list’ to see all possible values
; ‘randr’ is the preferred method, ‘vidmode’ is an older API
; but works in some cases when ‘randr’ does not.
; The adjustment method settings are in a different section.
; Configuration of the location-provider:
; type ‘redshift -l PROVIDER:help’ to see the settings
; ex: ‘redshift -l manual:help’
;lat=51.522698 ; set these values if you’ve set the location-provider to manual instead of geoclue
; Configuration of the adjustment-method
; type ‘redshift -m METHOD:help’ to see the settings
; ex: ‘redshift -m randr:help’
We don’t want to start Redshift from terminal each time we start Ubuntu, let’s autostart it on system startup.
Just enable “Autostart” from Redshift tray icon, click on it:
The hard way:
If for some reason “Autostart” option does not work, manually add command to startup.
Linux only: Previously mentioned F.lux has become a favorite among insomnia sufferers for reducing the harshness of…lifehacker.com