When traveling it's very nice to set the local (laptop) time based on your current location. Such a feature would be a nice enhancement to the clock. Setting the system time would be even better, but I'm not sure how to handle that. The weather plugin already downloads xml and parses that, the clock plugin could do the same, but then again maybe this should be incorperate in some xfce-util lib...
Nice idea. I would like to add a question/thought: Should this feature be automatic OR should this feature be available when a travel mode button (or setting) is activated?
Is it sufficient to base it on the country you are in? $ curl http://whatsmyip.net/ | grep "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*</title>" | sed "s,<title>What's My IP - Your IP is: \(.*\)<.*,\1," |xargs whois |grep country |sed "s,country: *\([A-Z]*\),\1," Then implement locally a nice language code - main city mapping table and there you go :)
See also bug #8151 about broken geo location service.
The GeoLite databases are our free IP geolocation databases. They are updated on the first Tuesday of each month. These databases are offered in the same binary and csv formats as our subscription databases. Any code which can read the subscription databases can also read the GeoLite databases. http://dev.maxmind.com/geoip/legacy/geolite
(In reply to Khazar from comment #1) > Nice idea. I would like to add a question/thought: Should this feature be > automatic OR should this feature be available when a travel mode button (or > setting) is activated? There should at least be a way to turn it off, both because people might want to see their home TZ and because some people might not want to send network requests automatically. (In reply to Raphael Groner from comment #2) > Is it sufficient to base it on the country you are in? City maybe, but many countries cover several different timezones ;-)
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/34. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev