Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 2966  / 2 Years ago, fri, october 7, 2022, 1:11:37

I'm getting this error when I run gtk-redshift from the CLI (it just doesn't start if I start it from the GUI):



(process:3862): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed


If I run redshift, I also get the same error as above, followed by this:



Segmentation fault (core dumped)


I'm running redshift version 1.7 and Xubuntu 12.10.


More From » xubuntu

 Answers
3

You may need create a config file to avoid the crash..



Create a file named redshift.conf and save it into ~/.config/redshift.conf. Here you have an example to create the config file:



; Global settings
[redshift]
temp-day=5700
temp-night=3500
transition=1
gamma=0.8:0.7:0.8
location-provider=manual
adjustment-method=vidmode

; The location provider and adjustment method settings
; are in their own sections.
[manual]
lat=-34.6
lon=-58.3

;screen
[vidmode]
screen=0


To know the coordinates for your city you can use itouchmap. Just search for your place and write down the numbers.

eg: My city Buenos Aires is lat=-34.6 and lon=-58.3



Once you have created the redshift.conf file, run the application and see if it works. You can find additional information about commands, config file, values on the Redshift website...


[#33993] Friday, October 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
wenceslockro

Total Points: 494
Total Questions: 127
Total Answers: 97

Location: Chad
Member since Mon, Dec 5, 2022
1 Year ago
;