Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have a problem running a program called Redshift. When I open it it closes immediately. Here is the error when I try to run it from the terminal:

$ redshift 

(process:3525): GLib-GObject-CRITICAL **: g_type_instance_get_private: 
    assertion `instance != NULL && instance->g_class != NULL' failed
Segmentation fault (core dumped)
share|improve this question

marked as duplicate by qbi, Eric Carvalho, Raja, user68186, Jorge Castro May 13 '13 at 15:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Looks like an error in that redshift program. Where is it from, how did you install it, can you give us more information on it? Is it that color-changing thing that helps you sleep? – Nanne Nov 12 '12 at 13:51
Redshift the game? You should include more details Do you have the proprietary drivers for you card installed ? – Caustic Nov 12 '12 at 14:06

It might be redshift which can't figure out your location, as I believe it uses the Gnome-clock to do this.

Try go to and type in your city. Then use the shown lat-/longitude in a terminal command as following:

redshift -l x:y

x = latitude (ex. 56.15)
y = longitude (ex. 10.12)

redshift -l 56.16:10.12
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.