You can use redshift[1] on linux, and there are a lot of cli tools that can be used to easily script color changes in hue lights and others via cron. It's not as integrated as f.lux, but reasonably easy to get working. There's also redshift-gtk to contorl redshift from the systray.