← Back to team overview

desktop-packages team mailing list archive

[Bug 1455223] Re: [time and date] Searching for locations is slow and doesn't work offline

 

(not directly related to bug, but a workaround since the indicator is a
bit buggy in vivid, and this bug seems to represent the problem well)

Thought others may be interested in this script:

#!/usr/bin/python3
import subprocess
import json

tz = [
    "America/Los_Angeles Los Angeles",
    "America/Denver Denver",
    "America/Sao_Paulo São_Paulo",
    "UTC UTC",
    "Europe/London London",
    "Asia/Kolkata India"
]

subprocess.check_call(
    ["gsettings", "set", 
     "com.canonical.indicator.datetime",
     "locations", json.dumps(tz)])


Simply customize, run and it should fix up timezones for you.

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

Title:
  [time and date] Searching for locations is slow and doesn't work
  offline

Status in libtimezonemap package in Ubuntu:
  Confirmed
Status in unity-control-center package in Ubuntu:
  Confirmed

Bug description:
  Click on clock -> Time and Date settings -> Clock -> Choose Locations
  -> Click the + -> Start typing "San Franc"

  When I'm at home, on a 300mbps connections, it takes several seconds
  to several minutes, when trying to add a new location.

  When I'm on a plane without internet connectivity, (ie, exactly when I
  most importantly need to change the time on my laptop to the new/next
  timezone), it doesn't work at all.

  Can we please, please, please move this timezone/location information
  to a locally cached database?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtimezonemap/+bug/1455223/+subscriptions


References