GeoClue TZ: Privacy-First Linux Location Service (thoughts.greyh.at)
from zquestz@lemm.ee to linux@lemmy.ml on 03 Nov 18:01
https://lemm.ee/post/46491579

#linux

threaded - newest

JubilantJaguar@lemmy.world on 03 Nov 18:43 next collapse

Interesting. Possibly useful to some. I have also discovered that the simplest, most privacy-friendly way to update location is just to do it manually when you change location.

I have a simple script that does this by querying OpenStreetMap’s Nominatim server with the city name. It feeds the resulting coordinates thru a Python library that deduces the timezone, and sets the system time to this.

SnotFlickerman@lemmy.blahaj.zone on 03 Nov 18:51 next collapse

<img alt="" src="https://lemmy.blahaj.zone/pictrs/image/4fe64cd7-c5dd-4ffc-98fb-ecd2bae9d6fd.webp">

EDIT: I’m so happy.

Quail4789@lemmy.ml on 03 Nov 19:08 next collapse

That image would make a great wallpaper without the project’s name on it.

Cyber@feddit.uk on 04 Nov 07:04 next collapse

Ah, ok, got a little confused… GeoClue TZ is an improvement on GeoClue

I didn’t even know this was a thing, I just dealt with this manually - now feeling a little silly.

Hirom@beehaw.org on 04 Nov 07:59 collapse

Then someone will write an utility that automatically sets timezone using geoclue location data.

zquestz@lemm.ee on 04 Nov 18:31 collapse

They could if GeoClue was reliable. The problem is that it often doesn’t work, so I doubt anyone would want to use it as a source to set their time zone.