· 6 years ago · Oct 19, 2019, 04:56 PM
1# Configuration file for Geoclue
2#
3# NOTE: All configurations settings below are mandatory and the defaults are
4# what you see before you edit them. If you want to keep the default
5# values around, copy and comment out the appropriate line(s) before
6# changing them.
7
8# Agent configuration options
9[agent]
10
11# Whitelist of desktop IDs (without .desktop part) of all agents we recognise,
12# separated by a ';'.
13whitelist=geoclue-demo-agent;gnome-shell;io.elementary.desktop.agent-geoclue2
14
15# Network NMEA source configuration options
16[network-nmea]
17
18# Fetch location from NMEA sources on local network?
19enable=true
20
21# 3G source configuration options
22[3g]
23
24# Enable 3G source
25enable=true
26
27# CDMA source configuration options
28[cdma]
29
30# Enable CDMA source
31enable=true
32
33# Modem GPS source configuration options
34[modem-gps]
35
36# Enable Modem-GPS source
37enable=true
38
39# WiFi source configuration options
40[wifi]
41
42# Enable WiFi source
43enable=true
44
45# URL to the wifi geolocation service. The key can currenty be anything, just
46# needs to be present but that is likely going to change in future.
47url=https://location.services.mozilla.com/v1/geolocate?key=geoclue
48
49# To use the Google geolocation service instead of mozilla's, simply uncomment
50# this url while changing API_KEY to your Google API key and comment out or
51# remove the url above.
52#
53# WARNING: Please make sure that you are complying with the Google's ToS and
54# policies if you uncomment this:
55#
56# https://developers.google.com/maps/documentation/geolocation/policies
57#
58#url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY
59
60# Submit data to Mozilla Location Service
61# If set to true, geoclue will automatically submit network data to Mozilla
62# each time it gets a GPS lock.
63#
64submit-data=false
65
66# URL to submission API of Mozilla Location Service
67submission-url=https://location.services.mozilla.com/v1/submit?key=geoclue
68
69# A nickname to submit network data with. A nickname must be 2-32 characters long.
70submission-nick=geoclue
71
72# Application configuration options
73#
74# NOTE: Having an entry here for an application with allowed=true means that
75# geoclue will not ask agent to authorize the application. This is to
76# ensure that applications with built-in authorization mechanism (e.g web
77# browsers) do not have to be bound to agents.
78#
79# If your application is denied access to location information and your
80# operating system doesn't provide any mechanism to change that, it is
81# likely a bug in your operation system (or geoclue). The solution is to
82# report the issue with all details, rather than adding your application
83# to this list.
84#
85# Format:
86#
87# # Desktop ID of application without .desktop part
88# [random-app]
89#
90# # Allowed access to location information?
91# allowed=true|false
92#
93# # Is application a system component?
94# system=true|false
95#
96# # List of UIDs of all users for which this application is allowed location
97# # info access, separate by ';'. Keep it empty for allowing it for all users.
98# users=
99
100[gnome-datetime-panel]
101allowed=true
102system=true
103users=
104
105[gnome-color-panel]
106allowed=true
107system=true
108users=
109
110[org.gnome.Shell]
111allowed=true
112system=true
113users=
114
115[io.elementary.desktop.agent-geoclue2]
116allowed=true
117system=true
118users=
119
120[epiphany]
121allowed=true
122system=false
123users=
124
125[firefox]
126allowed=true
127system=false
128users=