Geoclue: Difference between revisions

Phobos (talk | contribs)
Created a page for Geoclue
 
Phobos (talk | contribs)
Geoclue General Information added
 
Line 1: Line 1:
== Configuration ==
[https://gitlab.freedesktop.org/geoclue/geoclue Geoclue] is a D-Bus geoinformation service. Geoclue can give you a location based on device GPS, a GPS of a device on your network, 3G modems, GeoIP, or WiFi.  
[https://gitlab.freedesktop.org/geoclue/geoclue Geoclue] is a D-Bus geoinformation service. Option can be found under [https://search.nixos.org/options?query=services.geoclue2 services.geoclue2].


Example configuration:
Many of these may require additional setup, such as WiFi which once relied on [[mozillawiki:CloudServices/Location|Mozilla Location Service]], but that service is now retired. Alternatives such as [https://beacondb.net/ beaconDB] may be used as a drop in replacement. Option may be found under [https://search.nixos.org/options?query=services.geoclue2 services.geoclue2].
{{File|3=# Set Geoclue as the default location provider
 
== Configuration: ==
Example:{{File|3=# Set Geoclue as the default location provider
location.provider = "geoclue2";
location.provider = "geoclue2";