Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configuration file for Geoclue
- #
- # NOTE: All configurations settings below are mandatory and the defaults are
- # what you see before you edit them. If you want to keep the default
- # values around, copy and comment out the appropriate line(s) before
- # changing them.
- # Agent configuration options
- [agent]
- # Whitelist of desktop IDs (without .desktop part) of all agents we recognise,
- # separated by a ';'.
- whitelist=geoclue-demo-agent;gnome-shell;io.elementary.desktop.agent-geoclue2;sm.puri.Phosh;lipstick
- # Network NMEA source configuration options
- [network-nmea]
- # Fetch location from NMEA sources on local network?
- enable=true
- # use aa nmea unix socket as the data source
- # nmea-socket=/var/run/gps-share.sock
- # 3G source configuration options
- [3g]
- # Enable 3G source
- enable=true
- # CDMA source configuration options
- [cdma]
- # Enable CDMA source
- enable=true
- # Modem GPS source configuration options
- [modem-gps]
- # Enable Modem-GPS source
- enable=true
- # WiFi source configuration options
- [wifi]
- enable=true
- url=https://api.beacondb.net/v1/geolocate
- # submit data, only possible with a GPS antenna
- submit-data=true
- submission-url=https://api.beacondb.net/v2/geosubmit
- submission-nick=geoclue
- # Enable WiFi source
- # If this source and the static source below are both disabled a GeoIP-only
- # source will be used instead.
- enable=true
- # URL to the WiFi geolocation service. If not set, defaults to Mozilla's
- # Location Service with a hardcoded key. To use a custom key, uncomment this URL
- # while changing YOUR_KEY to your MLS API key.
- #url=https://location.services.mozilla.com/v1/geolocate?key=YOUR_KEY
- # To use the Google geolocation service instead of Mozilla's, uncomment this URL
- # while changing YOUR_KEY to your Google API key.
- #
- # WARNING: Please make sure that you are complying with the Google's ToS and
- # policies if you uncomment this:
- #
- # https://developers.google.com/maps/documentation/geolocation/policies
- #
- #url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY
- # Submit data to Mozilla Location Service
- # If set to true, geoclue will automatically submit network data to Mozilla
- # each time it gets a GPS lock.
- #
- # Currently, only Modem-GPS or Network NMEA sources are supported as providers
- # of a location to submit (one at a time).
- # If Modem-GPS source is enabled above it will be the exclusive provider
- # (regardless whether the system is actually equipped with such modem),
- # otherwise Network NMEA source will be considered.
- #
- #submit-data=false
- # URL to submission API of Mozilla Location Service. If not set, defaults to
- # Mozilla's API with a hardcoded key. To use a custom key, uncomment this URL
- # while changing YOUR_KEY to your MLS API key.
- #submission-url=https://location.services.mozilla.com/v2/geosubmit?key=YOUR_KEY
- # A nickname to submit network data with. A nickname must be 2-32 characters long.
- #submission-nick=geoclue
- # Compass configuration options
- [compass]
- # Enable Compass
- enable=true
- # Static source configuration options
- #
- # This source reads location from "geolocation" file in /etc - please
- # consult geoclue(5) man page for the format description of this file.
- [static-source]
- # Enable the static source
- # If you make use of this source, you probably should disable other location
- # sources in this file so they won't override the configured static location.
- enable=true
- # Application configuration options
- #
- # NOTE: Having an entry here for an application with allowed=true means that
- # geoclue will not ask agent to authorize the application. This is to
- # ensure that applications with built-in authorization mechanism (e.g web
- # browsers) do not have to be bound to agents.
- #
- # If your application is denied access to location information and your
- # operating system doesn't provide any mechanism to change that, it is
- # likely a bug in your operation system (or geoclue). The solution is to
- # report the issue with all details, rather than adding your application
- # to this list.
- #
- # Format:
- #
- # # Desktop ID of application without .desktop part
- # [random-app]
- #
- # # Allowed access to location information?
- # allowed=true|false
- #
- # # Is application a system component?
- # system=true|false
- #
- # # List of UIDs of all users for which this application is allowed location
- # # info access, separate by ';'. Keep it empty for allowing it for all users.
- # users=
- [gnome-datetime-panel]
- allowed=true
- system=true
- users=
- [gnome-color-panel]
- allowed=true
- system=true
- users=
- [org.gnome.Shell]
- allowed=true
- system=true
- users=
- [io.elementary.desktop.agent-geoclue2]
- allowed=true
- system=true
- users=
- [sm.puri.Phosh]
- allowed=true
- system=true
- users=
- [epiphany]
- allowed=true
- system=false
- users=
- [firefox]
- allowed=true
- system=false
- users=
- [lipstick]
- allowed=true
- system=true
- users=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement