The -l lat:lon is what I use and sufficient for me, but the workaround
is insufficient, though, from a design perspective.  For example, both
my parents and my girlfriend just think the program is completely broken
if they try to use it while not connected to the internet.

Both Unity and Gnome allow setting your current location.  Redshift
should probably do the following automatically by default unless given a
manual over-ride (such as using the -l lat:lon option):

1. Try to find current location using geoclue and internet connection
2. If #1 doesn't work, fall back to using Unity / Gnome location in the clock 
applet
3. If #2 doesn't work, fall back to using last-known good startup location
4. If #3 doesn't work, prompt use to enter a location manually at least once 
using the -l switch (so it can create a config file and fall back to #3 next 
time)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-geoip in Ubuntu.
https://bugs.launchpad.net/bugs/868904

Title:
  Redshift fails to start with session due to geoclue failure

Status in Redshift color temperature adjustment:
  Confirmed
Status in “redshift” package in Ubuntu:
  Fix Released
Status in “ubuntu-geoip” package in Ubuntu:
  Confirmed
Status in “redshift” source package in Oneiric:
  Confirmed
Status in “ubuntu-geoip” source package in Oneiric:
  Confirmed

Bug description:
  Since switching to oneiric redshift won't start.  It is listed as a
  startup application and these lines are present in .xsession-error
  from it:

      Unable to get location from provider.
      Started Geoclue provider `Geoclue Master'.
     Using provider `geoclue'.

  There is also no process in a ps listing.  If I start it from the
  command prompt then it starts just fine often with substantially
  similar messages.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: redshift 1.7-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Wed Oct  5 22:39:15 2011
  SourcePackage: redshift
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to