Comment 45 for bug 868904

Revision history for this message
Olivier Berger (olivierberger) wrote : Re: Redshift fails to start with session due to geoclue failure

See my suggestions for solving these geoclue-hostip issues : https://bugs.launchpad.net/redshift/+bug/808006/comments/15

I have now in my ~/.config/redshift.conf :

[redshift]
              location-provider=geoclue

[geoclue]
name=org.freedesktop.Geoclue.Providers.Hostip
path=/org/freedesktop/Geoclue/Providers/Hostip

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

and can the switch to gtk-redshift -l manual if needed for a fallback when geoclue-hostip won't work (and when I'm in Paris).

I'm not sure the DEFAULT_PROVIDER and DEFAULT_PROVIDER_PATH in src/location-geoclue.c are valid outside the Ubuntu world, so hence the name and path...

Hope this helps