Skip to content

Add a static location source

There were many requests to provide a static location source in issues #51 (closed) and #145 (closed) over the years for systems which don't normally move but where the existing location sources provide poor location estimate. One example of such system would be a desktop PC without WiFi or 3G modem.

This MR adds a source that reads location from geolocation file in @sysconfdir@ (normally /etc) to cover this use case and make Geoclue users happier.

This file is constantly monitored for changes during Geoclue operation and the reported static location is updated accordingly. The (updated) geoclue(5) man page should be consulted for the format description of this file.

Merge request reports