Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enter static location of the computer #165

Open
djaeris opened this issue Oct 9, 2024 · 0 comments
Open

Add option to enter static location of the computer #165

djaeris opened this issue Oct 9, 2024 · 0 comments

Comments

@djaeris
Copy link

djaeris commented Oct 9, 2024

Problem

Mozilla has closed its location service (https://discourse.mozilla.org/t/retiring-the-mozilla-location-service/128693) that geoclue2 was using. Google location service requires a paid API key. IP based location resolution is unreliable in certain situations, because it depends on many external factors. This creates issues, like automated theme switching based on sunrise/sunset times not working realiably.

Proposal

For desktop PCs, that usually stay at the same place, this can be solved by creating a /etc/geolocation file with static coordinates (as per man geoclue). This could be available as an option in the Settings app, with the possibility to switch from automated location to static location. The required coordinates can be easily obtained with a service like OpenStreetMap.

Prior Art (Optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant