jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.91k stars 429 forks source link

Redshift closes when connecting a monitor #302

Open tomrozb opened 8 years ago

tomrozb commented 8 years ago

I've a problem with redshift that it sometimes closes after I connect a monitor using HDMI cable.

I wanted to attach some logs but I couldn't find any. Where does redshift store logs or crash information?

maandree commented 8 years ago

There are no logs. But there is some output to stderr.

tomrozb commented 8 years ago

Is it possible to capture the standard error when redshift is started from autostart? I mean it's added to .config/autostart

I've tried such start command: "redshift-gtk &> ~/redshift" but the file is empty even after crash. I've no idea why

jonls commented 8 years ago

@tomrozb Thanks for the report. redshift-gtk will probably not produce any relevant error messages. Is it possible for you to run redshift (not redshift-gtk) from a terminal? That should allow you to see any error messages.

tomrozb commented 8 years ago

Yes it is. The only logs after a few days of using it and seeing it crashing from time to time are presented below:

Started Geoclue provider `Geoclue Master'.
According to the geoclue provider we're at: 47.62, -122.14

As you can see nothing special, just some geo logs. How can I debug what's wrong and why it's crashing?