Hacker News new | ask | show | jobs
by guard-of-terra 4910 days ago
I've also installed redshift and redshift-gtk as suggested and they both crash on start.

Altough redshift doesn't if supplied with all the required parameters outright.

1 comments

Create a config file in ~/.config/redshift.conf with the manual parameters you use, and redshift-gtk should work.

Sample config is at http://jonls.dk/2010/10/redshift-1-6-released/ - I only need to set lat and lon to get it to run, though I also have temp-night set for my personal preference.

Thanks, it works that way. Still I have to ask: are they crazy to make their program crash silently when no config is present?
I seem to remember it looks for gnome-clock to discover your location, and gives up if that's not found, although the GTK version does unhelpfully just exit without a message. It can't work without knowing your latitude and longitude to work out sunset/sunrise times.
redshift segfaults actually.
Please submit that to the author. Segfaults should not happen.
Filed a bug against libgeoclue.