Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1184  / 3 Years ago, wed, may 5, 2021, 8:34:06

Basically if you don't already know, the world is round, so we have timezones as an agreement. I want my system time to be set to LST.



I want to know what the local (determined from gps coords) time is on ubuntu, not the time in one of the timezones (for various sociopolitical reasons). Is there a package or script to set the system time based off of LST for current coordinates, rather than something more general, like a time zone?


More From » indicator

 Answers
4

What you search is the LST (Local Solar Time) or local sideral time, and you can use an online page to see it.



enter image description here



As the OP found, there is the sunclock application which you can install with



sudo apt-get install sunclock


Run it (sunclock from the command line) and after you have resized the normally tiny window, you can switch from "map" mode to a "clock" mode by hitting ! (you can have a very old-fashioned but IMHO nice menu by clicking in the window when in map-mode). In clock mode you click on the place you want and you'll have the local time.



Map-mode with the menu:
enter image description here



Clock mode:
enter image description here


[#19735] Friday, May 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
humbire

Total Points: 55
Total Questions: 93
Total Answers: 113

Location: Oman
Member since Fri, Dec 23, 2022
1 Year ago
humbire questions
Thu, May 13, 21, 02:28, 3 Years ago
Sun, Oct 24, 21, 14:23, 3 Years ago
Wed, May 17, 23, 22:16, 1 Year ago
;